browser(webkit): fix text padding (#9114)

This commit is contained in:
Max Schmitt 2021-09-23 21:08:07 +02:00 committed by GitHub
parent 1fb9d21223
commit d0a4480cf7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 15 deletions

View File

@ -1,2 +1,2 @@
1548
Changed: dpino@igalia.com Fri Sep 17 17:38:21 UTC 2021
1549
Changed: max@schmitt.mx Thu 23 Sep 2021 21:05:36 CEST

View File

@ -5756,19 +5756,6 @@ index 16edb3bc689b8e2dde17597b642b706c1343e1f5..f363b2ca2410f22cff8d6ad908a88527
~UserGestureEmulationScope();
private:
diff --git a/Source/WebCore/layout/integration/LayoutIntegrationLineLayout.cpp b/Source/WebCore/layout/integration/LayoutIntegrationLineLayout.cpp
index 39e185d538e7e3970db879ca0d2934478815591e..de5d5b922256d73dc1391c01e11478bcdd92c03a 100644
--- a/Source/WebCore/layout/integration/LayoutIntegrationLineLayout.cpp
+++ b/Source/WebCore/layout/integration/LayoutIntegrationLineLayout.cpp
@@ -250,7 +250,7 @@ void LineLayout::prepareLayoutState()
auto& rootGeometry = m_layoutState.ensureGeometryForBox(rootLayoutBox());
rootGeometry.setContentBoxWidth(flow.contentSize().width());
- rootGeometry.setPadding(Layout::Edges { { flow.paddingStart(), flow.paddingEnd() }, { flow.paddingBefore(), flow.paddingAfter() } });
+ rootGeometry.setPadding(Layout::Edges{});
rootGeometry.setBorder(Layout::Edges { { flow.borderStart(), flow.borderEnd() }, { flow.borderBefore(), flow.borderAfter() } });
rootGeometry.setHorizontalMargin({ });
rootGeometry.setVerticalMargin({ });
diff --git a/Source/WebCore/loader/CookieJar.h b/Source/WebCore/loader/CookieJar.h
index 982691dd2dfe2f65201370a12302b5086703c126..4af72beb3b1405ffac78e89e7fbb2b14d6647903 100644
--- a/Source/WebCore/loader/CookieJar.h