Title: [285615] trunk
Revision
285615
Author
[email protected]
Date
2021-11-10 16:47:14 -0800 (Wed, 10 Nov 2021)

Log Message

Remove non-standard -webkit-border-fit CSS property
https://bugs.webkit.org/show_bug.cgi?id=229564

Reviewed by Simon Fraser.

LayoutTests/imported/w3c:

* web-platform-tests/css/css-cascade/all-prop-initial-xml-expected.txt:
* web-platform-tests/css/cssom/getComputedStyle-detached-subtree-expected.txt:

Source/WebCore:

* css/CSSComputedStyleDeclaration.cpp:
(WebCore::ComputedStyleExtractor::valueForPropertyInStyle):
* css/CSSPrimitiveValueMappings.h:
(WebCore::CSSPrimitiveValue::operator BorderFit const): Deleted.
* css/CSSProperties.json:
* css/CSSValueKeywords.in:
* css/parser/CSSParserFastPaths.cpp:
(WebCore::CSSParserFastPaths::isValidKeywordPropertyAndValue):
(WebCore::CSSParserFastPaths::isKeywordPropertyID):
* rendering/RenderBlockFlow.cpp:
(WebCore::RenderBlockFlow::layoutBlock):
(WebCore::RenderBlockFlow::adjustForBorderFit const): Deleted.
(WebCore::RenderBlockFlow::fitBorderToLinesIfNeeded): Deleted.
* rendering/RenderBlockFlow.h:
* rendering/RenderBox.cpp:
(WebCore::RenderBox::computeLogicalWidthInFragment const):
* rendering/RenderElement.cpp:
(WebCore::RenderElement::repaintAfterLayoutIfNeeded):
* rendering/style/RenderStyle.cpp:
(WebCore::rareNonInheritedDataChangeRequiresRepaint):
* rendering/style/RenderStyle.h:
(WebCore::RenderStyle::borderFit const): Deleted.
(WebCore::RenderStyle::setBorderFit): Deleted.
(WebCore::RenderStyle::initialBorderFit): Deleted.
* rendering/style/RenderStyleConstants.cpp:
* rendering/style/RenderStyleConstants.h:
* rendering/style/StyleRareNonInheritedData.cpp:
(WebCore::StyleRareNonInheritedData::StyleRareNonInheritedData):

Source/WebInspectorUI:

* UserInterface/Models/CSSKeywordCompletions.js:

Tools:

* LayoutReloaded/misc/LFC-passing-tests.txt:

LayoutTests:

Remove relevant tests and update test expectations.

* TestExpectations:
* fast/block/border-fit-with-right-alignment-expected.html: Removed.
* fast/block/border-fit-with-right-alignment.html: Removed.
* fast/borders/border-fit-2-expected.txt: Removed.
* fast/borders/border-fit-2.html: Removed.
* fast/borders/border-fit-expected.txt: Removed.
* fast/borders/border-fit.html: Removed.
* fast/css/getComputedStyle/computed-style-expected.txt:
* fast/css/getComputedStyle/computed-style-without-renderer-expected.txt:
* fast/css/getComputedStyle/resources/property-names.js:
* fast/multicol/widow-relayout-with-border-fit-expected.txt: Removed.
* fast/multicol/widow-relayout-with-border-fit.html: Removed.
* fast/repaint/border-fit-lines-expected.html: Removed.
* fast/repaint/border-fit-lines.html: Removed.
* platform/glib/fast/borders/border-fit-expected.txt: Removed.
* platform/glib/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt:
* platform/glib/svg/css/getComputedStyle-basic-expected.txt:
* platform/gtk/fast/borders/border-fit-2-expected.png: Removed.
* platform/gtk/fast/borders/border-fit-expected.png: Removed.
* platform/gtk/imported/w3c/web-platform-tests/css/cssom/getComputedStyle-detached-subtree-expected.txt:
* platform/ios/TestExpectations:
* platform/ios/fast/css/getComputedStyle/computed-style-expected.txt:
* platform/ios/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt:
* platform/ios/imported/w3c/web-platform-tests/css/css-cascade/all-prop-initial-xml-expected.txt:
* platform/ios/imported/w3c/web-platform-tests/css/cssom/getComputedStyle-detached-subtree-expected.txt:
* platform/ios/svg/css/getComputedStyle-basic-expected.txt:
* platform/mac/TestExpectations:
* platform/mac/fast/borders/border-fit-2-expected.png: Removed.
* platform/mac/fast/borders/border-fit-expected.png: Removed.
* platform/mac/fast/css/getComputedStyle/computed-style-expected.txt:
* platform/mac/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt:
* platform/mac/svg/css/getComputedStyle-basic-expected.txt:
* platform/win/fast/borders/border-fit-expected.txt: Removed.
* platform/wpe/imported/w3c/web-platform-tests/css/cssom/getComputedStyle-detached-subtree-expected.txt:
* svg/css/getComputedStyle-basic-expected.txt:

Modified Paths

Removed Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (285614 => 285615)


--- trunk/LayoutTests/ChangeLog	2021-11-11 00:45:20 UTC (rev 285614)
+++ trunk/LayoutTests/ChangeLog	2021-11-11 00:47:14 UTC (rev 285615)
@@ -1,3 +1,48 @@
+2021-11-10  Tim Nguyen  <[email protected]>
+
+        Remove non-standard -webkit-border-fit CSS property
+        https://bugs.webkit.org/show_bug.cgi?id=229564
+
+        Reviewed by Simon Fraser.
+
+        Remove relevant tests and update test expectations.
+
+        * TestExpectations:
+        * fast/block/border-fit-with-right-alignment-expected.html: Removed.
+        * fast/block/border-fit-with-right-alignment.html: Removed.
+        * fast/borders/border-fit-2-expected.txt: Removed.
+        * fast/borders/border-fit-2.html: Removed.
+        * fast/borders/border-fit-expected.txt: Removed.
+        * fast/borders/border-fit.html: Removed.
+        * fast/css/getComputedStyle/computed-style-expected.txt:
+        * fast/css/getComputedStyle/computed-style-without-renderer-expected.txt:
+        * fast/css/getComputedStyle/resources/property-names.js:
+        * fast/multicol/widow-relayout-with-border-fit-expected.txt: Removed.
+        * fast/multicol/widow-relayout-with-border-fit.html: Removed.
+        * fast/repaint/border-fit-lines-expected.html: Removed.
+        * fast/repaint/border-fit-lines.html: Removed.
+        * platform/glib/fast/borders/border-fit-expected.txt: Removed.
+        * platform/glib/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt:
+        * platform/glib/svg/css/getComputedStyle-basic-expected.txt:
+        * platform/gtk/fast/borders/border-fit-2-expected.png: Removed.
+        * platform/gtk/fast/borders/border-fit-expected.png: Removed.
+        * platform/gtk/imported/w3c/web-platform-tests/css/cssom/getComputedStyle-detached-subtree-expected.txt:
+        * platform/ios/TestExpectations:
+        * platform/ios/fast/css/getComputedStyle/computed-style-expected.txt:
+        * platform/ios/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt:
+        * platform/ios/imported/w3c/web-platform-tests/css/css-cascade/all-prop-initial-xml-expected.txt:
+        * platform/ios/imported/w3c/web-platform-tests/css/cssom/getComputedStyle-detached-subtree-expected.txt:
+        * platform/ios/svg/css/getComputedStyle-basic-expected.txt:
+        * platform/mac/TestExpectations:
+        * platform/mac/fast/borders/border-fit-2-expected.png: Removed.
+        * platform/mac/fast/borders/border-fit-expected.png: Removed.
+        * platform/mac/fast/css/getComputedStyle/computed-style-expected.txt:
+        * platform/mac/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt:
+        * platform/mac/svg/css/getComputedStyle-basic-expected.txt:
+        * platform/win/fast/borders/border-fit-expected.txt: Removed.
+        * platform/wpe/imported/w3c/web-platform-tests/css/cssom/getComputedStyle-detached-subtree-expected.txt:
+        * svg/css/getComputedStyle-basic-expected.txt:
+
 2021-11-10  Devin Rousso  <[email protected]>
 
         Add support for marking an `<input>` as being autofilled with obscured content

Modified: trunk/LayoutTests/TestExpectations (285614 => 285615)


--- trunk/LayoutTests/TestExpectations	2021-11-11 00:45:20 UTC (rev 285614)
+++ trunk/LayoutTests/TestExpectations	2021-11-11 00:47:14 UTC (rev 285615)
@@ -4864,7 +4864,6 @@
 webkit.org/b/224899 imported/w3c/web-platform-tests/css/css-will-change/will-change-fixedpos-cb-004.html [ ImageOnlyFailure ]
 webkit.org/b/224899 imported/w3c/web-platform-tests/css/css-will-change/will-change-fixedpos-cb-005.html [ ImageOnlyFailure ]
 
-webkit.org/b/223170 [ Debug ] fast/multicol/widow-relayout-with-border-fit.html [ Skip ]
 webkit.org/b/31278 [ Debug ] fast/multicol/spanner-get-re-added-on-move-crash.html [ Skip ]
 
 webkit.org/b/225247 [ Debug ] fast/multicol/span/float-becomes-spanner-crash.html [ Skip ]

Deleted: trunk/LayoutTests/fast/block/border-fit-with-right-alignment-expected.html


(Binary files differ)

Deleted: trunk/LayoutTests/fast/block/border-fit-with-right-alignment.html


(Binary files differ)

Deleted: trunk/LayoutTests/fast/borders/border-fit-2-expected.txt (285614 => 285615)


--- trunk/LayoutTests/fast/borders/border-fit-2-expected.txt	2021-11-11 00:45:20 UTC (rev 285614)
+++ trunk/LayoutTests/fast/borders/border-fit-2-expected.txt	2021-11-11 00:47:14 UTC (rev 285615)
@@ -1,9 +0,0 @@
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 800x600
-  RenderBlock {HTML} at (0,0) size 800x600
-    RenderBody {BODY} at (8,8) size 784x584
-      RenderBlock {DIV} at (0,0) size 51x51 [border: (21px solid #000000) (30px solid #000000) (21px solid #000000)]
-        RenderBlock {DIV} at (1,21) size 0x0
-      RenderBlock {DIV} at (0,51) size 51x51 [border: (21px solid #000000) (30px solid #000000) (21px solid #000000)]
-        RenderBlock {DIV} at (41,21) size 0x0

Deleted: trunk/LayoutTests/fast/borders/border-fit-2.html (285614 => 285615)


--- trunk/LayoutTests/fast/borders/border-fit-2.html	2021-11-11 00:45:20 UTC (rev 285614)
+++ trunk/LayoutTests/fast/borders/border-fit-2.html	2021-11-11 00:47:14 UTC (rev 285615)
@@ -1,16 +0,0 @@
-<html>
-<head>
-    <style>
-        div.test {
-            border-width: 21px 30px 30px 21px;
-            -webkit-border-fit: lines;
-            -webkit-border-image: url("resources/border-image.png") 21 30 30 21;
-            border-style: solid;
-        }
-    </style>
-</head>
-<body>
-    <div class="test"><div style="display:inline-block; margin-left:-20px;"></div></div>
-    <div class="test" style="text-align:right;"><div style="display:inline-block; margin-right:-20px;"></div></div>
-</body>
-</html>

Deleted: trunk/LayoutTests/fast/borders/border-fit-expected.txt (285614 => 285615)


--- trunk/LayoutTests/fast/borders/border-fit-expected.txt	2021-11-11 00:45:20 UTC (rev 285614)
+++ trunk/LayoutTests/fast/borders/border-fit-expected.txt	2021-11-11 00:47:14 UTC (rev 285615)
@@ -1,48 +0,0 @@
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 800x600
-  RenderBlock {HTML} at (0,0) size 800x600
-    RenderBody {BODY} at (8,8) size 784x584
-layer at (8,8) size 740x53
-  RenderBlock (relative positioned) {DIV} at (0,0) size 740x53
-    RenderBlock {DIV} at (36,0) size 704x53 [border: (10px solid #00000000) (18px solid #00000000)]
-      RenderBlock {DIV} at (18,5) size 676x42
-        RenderText {#text} at (0,0) size 668x42
-          text run at (0,0) width 668: "Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec ac odio. Fusce facilisis. Praesent eleifend dapibus mi. Proin"
-          text run at (0,14) width 604: "nulla nulla, hendrerit vitae, condimentum non, iaculis sed, sem. Aliquam a turpis nec ante elementum dignissim."
-          text run at (0,28) width 231: "Suspendisse potenti. Suspendisse potenti."
-    RenderText {#text} at (0,0) size 0x0
-layer at (8,29) size 32x32
-  RenderImage {IMG} at (0,21) size 32x32
-layer at (52,65) size 740x32
-  RenderBlock (relative positioned) {DIV} at (44,57) size 740x32
-    RenderBlock {DIV} at (299,0) size 405x25 [border: (10px solid #00000000) (18px solid #00000000) (10px solid #00000000)]
-      RenderBlock {DIV} at (10,5) size 377x14
-        RenderText {#text} at (0,0) size 377x14
-          text run at (0,0) width 377: "Aliquam a turpis nec ante elementum dignissim. Suspendisse potenti."
-    RenderText {#text} at (0,0) size 0x0
-layer at (760,65) size 32x32
-  RenderImage {IMG} at (708,0) size 32x32
-layer at (8,101) size 740x32
-  RenderBlock (relative positioned) {DIV} at (0,93) size 740x32
-    RenderBlock {DIV} at (36,0) size 178x25 [border: (10px solid #00000000) (18px solid #00000000)]
-      RenderBlock {DIV} at (18,5) size 150x14
-        RenderText {#text} at (0,0) size 150x14
-          text run at (0,0) width 150: "Lorem ipsum dolor sit amet."
-    RenderText {#text} at (0,0) size 0x0
-layer at (8,101) size 32x32
-  RenderImage {IMG} at (0,0) size 32x32
-layer at (52,137) size 740x153
-  RenderBlock (relative positioned) {DIV} at (44,129) size 740x153
-    RenderBlock {DIV} at (0,0) size 704x153 [border: (10px solid #00000000) (18px solid #00000000) (10px solid #00000000)]
-      RenderBlock {DIV} at (10,5) size 676x142
-        RenderBlock {DIV} at (0,0) size 676x100 [bgcolor=#EEEEEE]
-          RenderText {#text} at (512,0) size 164x14
-            text run at (512,0) width 164: "Look at me, I'm an attachment!"
-        RenderText {#text} at (8,100) size 668x42
-          text run at (8,100) width 668: "Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec ac odio. Fusce facilisis. Praesent eleifend dapibus mi. Proin"
-          text run at (72,114) width 604: "nulla nulla, hendrerit vitae, condimentum non, iaculis sed, sem. Aliquam a turpis nec ante elementum dignissim."
-          text run at (445,128) width 231: "Suspendisse potenti. Suspendisse potenti."
-    RenderText {#text} at (0,0) size 0x0
-layer at (760,258) size 32x32
-  RenderImage {IMG} at (708,121) size 32x32

Deleted: trunk/LayoutTests/fast/borders/border-fit.html (285614 => 285615)


--- trunk/LayoutTests/fast/borders/border-fit.html	2021-11-11 00:45:20 UTC (rev 285614)
+++ trunk/LayoutTests/fast/borders/border-fit.html	2021-11-11 00:47:14 UTC (rev 285615)
@@ -1,99 +0,0 @@
-<style>
-body {
-	font-family: Helvetica, sans-serif;
-	font-size: 12px;
-}
-
-div {
-//	outline: 1px solid red;
-}
-
-.message {
-	position: relative;
-	vertical-align: bottom;
-	min-height: 32px;
-}
-
-.message.left {
-    margin-right: 44px;
-    text-align: left;
-}
-
-.message.left .bubble {
-    margin-left: 36px;
-}
-
-.message.right {
-    margin-left: 44px;
-    text-align: right;
-}
-
-.message.right .bubble {
-    margin-right: 36px;
-    text-align: right;
-}
-
-.message.left .icon {
-	left: 0;
-}
-
-.message.right .icon {
-	right: 0;
-}
-
-.message + .message {
-	margin-top: 4px;
-}
-
-.icon {
-	-webkit-user-select: none;
-	position: absolute;
-	bottom: 0;
-}
-
-.icon.default {
-    content: url(resources/largePerson.png);
-}
-
-.bubble {
-    display: inline-block;
-    border-color: transparent;
-    border-style: solid;
-    -webkit-box-sizing: border-box;
-    -webkit-border-fit: lines;
-}
-
-.message.left .bubble {
-    border-width: 10px 10px 10px 18px;
-    -webkit-border-image: url(resources/Balloon_12641896.tiff) 10 10 10 18;
-}
-
-.message.right .bubble {
-    border-width: 10px 18px 10px 10px;
-    -webkit-border-image: url(resources/Balloon_8107502.tiff) 10 18 10 10;
-}
-
-.bubble .content {
-    margin: -5px 0 -4px 0;
-}
-</style>
-
-<div class="message left">
-<img class="icon default">
-<div class="bubble"><div class="content">Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec ac odio. Fusce facilisis. Praesent eleifend dapibus mi. Proin nulla nulla, hendrerit vitae, condimentum non, iaculis sed, sem. Aliquam a turpis nec ante elementum dignissim. Suspendisse potenti. Suspendisse potenti.</div></div>
-</div>
-
-<div class="message right">
-<img class="icon default">
-<div class="bubble"><div class="content">Aliquam a turpis nec ante elementum dignissim. Suspendisse potenti.</div></div>
-</div>
-
-<div class="message left">
-<img class="icon default">
-<div class="bubble"><div class="content">Lorem ipsum dolor sit amet.</div></div>
-</div>
-
-<div class="message right">
-<img class="icon default">
-<div class="bubble"><div class="content"><div style="display:inline-block; width:100%; height:100px;background-color:#eeeeee">Look at me, I'm an attachment!</div> Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec ac odio. Fusce facilisis. Praesent eleifend dapibus mi. Proin nulla nulla, hendrerit vitae, condimentum non, iaculis sed, sem. Aliquam a turpis nec ante elementum dignissim. Suspendisse potenti. Suspendisse potenti.</div></div>
-</div>

Modified: trunk/LayoutTests/fast/css/getComputedStyle/computed-style-expected.txt (285614 => 285615)


--- trunk/LayoutTests/fast/css/getComputedStyle/computed-style-expected.txt	2021-11-11 00:45:20 UTC (rev 285614)
+++ trunk/LayoutTests/fast/css/getComputedStyle/computed-style-expected.txt	2021-11-11 00:47:14 UTC (rev 285615)
@@ -198,7 +198,6 @@
 -webkit-background-composite: source-over;
 -webkit-background-origin: padding-box;
 -webkit-background-size: auto;
--webkit-border-fit: border;
 -webkit-border-horizontal-spacing: 0px;
 -webkit-border-image: none;
 -webkit-border-vertical-spacing: 0px;

Modified: trunk/LayoutTests/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt (285614 => 285615)


--- trunk/LayoutTests/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt	2021-11-11 00:45:20 UTC (rev 285614)
+++ trunk/LayoutTests/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt	2021-11-11 00:47:14 UTC (rev 285615)
@@ -197,7 +197,6 @@
 -webkit-background-composite: source-over
 -webkit-background-origin: padding-box
 -webkit-background-size: auto
--webkit-border-fit: border
 -webkit-border-horizontal-spacing: 0px
 -webkit-border-image: none
 -webkit-border-vertical-spacing: 0px

Modified: trunk/LayoutTests/fast/css/getComputedStyle/resources/property-names.js (285614 => 285615)


--- trunk/LayoutTests/fast/css/getComputedStyle/resources/property-names.js	2021-11-11 00:45:20 UTC (rev 285614)
+++ trunk/LayoutTests/fast/css/getComputedStyle/resources/property-names.js	2021-11-11 00:47:14 UTC (rev 285615)
@@ -17,7 +17,6 @@
     "-webkit-background-composite": true,
     "-webkit-background-origin": true,
     "-webkit-background-size": true,
-    "-webkit-border-fit": true,
     "-webkit-border-horizontal-spacing": true,
     "-webkit-border-image": true,
     "-webkit-border-vertical-spacing": true,

Deleted: trunk/LayoutTests/fast/multicol/widow-relayout-with-border-fit-expected.txt (285614 => 285615)


--- trunk/LayoutTests/fast/multicol/widow-relayout-with-border-fit-expected.txt	2021-11-11 00:45:20 UTC (rev 285614)
+++ trunk/LayoutTests/fast/multicol/widow-relayout-with-border-fit-expected.txt	2021-11-11 00:47:14 UTC (rev 285615)
@@ -1 +0,0 @@
-

Deleted: trunk/LayoutTests/fast/multicol/widow-relayout-with-border-fit.html (285614 => 285615)


--- trunk/LayoutTests/fast/multicol/widow-relayout-with-border-fit.html	2021-11-11 00:45:20 UTC (rev 285614)
+++ trunk/LayoutTests/fast/multicol/widow-relayout-with-border-fit.html	2021-11-11 00:47:14 UTC (rev 285615)
@@ -1,20 +0,0 @@
-<style>
-  * {
-    -webkit-border-fit: lines;
-    -webkit-column-axis: vertical;
-    columns: 1px 5;
-    float: left;
-    height: 0;
-    max-block-size: 100px;
-    min-height: -webkit-fill-available;
-    shape-outside: ellipse(50% 25% at 50% 25%);
-    widows: 100;
-  }
-  *::after {
-    content: 'PASSi fnoc rasho rasse rt';
-  }
-</style>
-<script>
-if (window.testRunner)
-  testRunner.dumpAsText();
-</script>
\ No newline at end of file

Deleted: trunk/LayoutTests/fast/repaint/border-fit-lines-expected.html (285614 => 285615)


--- trunk/LayoutTests/fast/repaint/border-fit-lines-expected.html	2021-11-11 00:45:20 UTC (rev 285614)
+++ trunk/LayoutTests/fast/repaint/border-fit-lines-expected.html	2021-11-11 00:47:14 UTC (rev 285615)
@@ -1,8 +0,0 @@
-<html>
-<body _onload_="runRepaintTest()">
-    This should be a 100&times;100px green square with a black border:
-    <div style="height: 100px; -webkit-border-fit: lines; background: green; border: 2px solid black;">
-        <div id="target" style="display: inline-block; width: 100px; height: 10px;"></div>
-    </div>
-</body>
-</html>

Deleted: trunk/LayoutTests/fast/repaint/border-fit-lines.html (285614 => 285615)


--- trunk/LayoutTests/fast/repaint/border-fit-lines.html	2021-11-11 00:45:20 UTC (rev 285614)
+++ trunk/LayoutTests/fast/repaint/border-fit-lines.html	2021-11-11 00:47:14 UTC (rev 285615)
@@ -1,20 +0,0 @@
-<html>
-<head>
-    <script type="text/_javascript_">
-        if (window.testRunner)
-            testRunner.waitUntilDone();
-        function runTest()
-        {
-            document.getElementById("target").style.width = '100px';
-            if (window.testRunner)
-                testRunner.notifyDone();
-        }
-    </script>
-</head>
-<body _onload_="runTest()">
-    This should be a 100&times;100px green square with a black border:
-    <div style="height: 100px; -webkit-border-fit: lines; background: green; border: 2px solid black;">
-        <div id="target" style="display: inline-block; width: 10px; height: 10px;"></div>
-    </div>
-</body>
-</html>

Modified: trunk/LayoutTests/imported/w3c/ChangeLog (285614 => 285615)


--- trunk/LayoutTests/imported/w3c/ChangeLog	2021-11-11 00:45:20 UTC (rev 285614)
+++ trunk/LayoutTests/imported/w3c/ChangeLog	2021-11-11 00:47:14 UTC (rev 285615)
@@ -1,3 +1,13 @@
+2021-11-10  Tim Nguyen  <[email protected]>
+
+        Remove non-standard -webkit-border-fit CSS property
+        https://bugs.webkit.org/show_bug.cgi?id=229564
+
+        Reviewed by Simon Fraser.
+
+        * web-platform-tests/css/css-cascade/all-prop-initial-xml-expected.txt:
+        * web-platform-tests/css/cssom/getComputedStyle-detached-subtree-expected.txt:
+
 2021-11-10  Antoine Quint  <[email protected]>
 
         The cssText property for a computed style should return an empty string

Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-cascade/all-prop-initial-xml-expected.txt (285614 => 285615)


--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-cascade/all-prop-initial-xml-expected.txt	2021-11-11 00:45:20 UTC (rev 285614)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-cascade/all-prop-initial-xml-expected.txt	2021-11-11 00:47:14 UTC (rev 285615)
@@ -326,7 +326,6 @@
 PASS -webkit-background-composite
 PASS -webkit-background-origin
 PASS -webkit-background-size
-PASS -webkit-border-fit
 PASS -webkit-border-horizontal-spacing
 PASS -webkit-border-image
 PASS -webkit-border-vertical-spacing

Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/css/cssom/getComputedStyle-detached-subtree-expected.txt (285614 => 285615)


--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/cssom/getComputedStyle-detached-subtree-expected.txt	2021-11-11 00:45:20 UTC (rev 285614)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/cssom/getComputedStyle-detached-subtree-expected.txt	2021-11-11 00:47:14 UTC (rev 285615)
@@ -1,8 +1,8 @@
 
 PASS getComputedStyle returns no style for detached element
-FAIL getComputedStyle returns no style for element in non-rendered iframe (display: none) assert_equals: expected 0 but got 398
-FAIL getComputedStyle returns no style for element in non-rendered iframe (display: none) from iframe's window assert_equals: expected 0 but got 398
-FAIL getComputedStyle returns no style for element outside the flat tree assert_equals: expected 0 but got 398
-FAIL getComputedStyle returns no style for descendant outside the flat tree assert_equals: expected 0 but got 398
+FAIL getComputedStyle returns no style for element in non-rendered iframe (display: none) assert_equals: expected 0 but got 397
+FAIL getComputedStyle returns no style for element in non-rendered iframe (display: none) from iframe's window assert_equals: expected 0 but got 397
+FAIL getComputedStyle returns no style for element outside the flat tree assert_equals: expected 0 but got 397
+FAIL getComputedStyle returns no style for descendant outside the flat tree assert_equals: expected 0 but got 397
 PASS getComputedStyle returns no style for shadow tree outside of flattened tree
 

Deleted: trunk/LayoutTests/platform/glib/fast/borders/border-fit-expected.txt (285614 => 285615)


--- trunk/LayoutTests/platform/glib/fast/borders/border-fit-expected.txt	2021-11-11 00:45:20 UTC (rev 285614)
+++ trunk/LayoutTests/platform/glib/fast/borders/border-fit-expected.txt	2021-11-11 00:47:14 UTC (rev 285615)
@@ -1,48 +0,0 @@
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 800x600
-  RenderBlock {HTML} at (0,0) size 800x600
-    RenderBody {BODY} at (8,8) size 784x584
-layer at (8,8) size 740x53
-  RenderBlock (relative positioned) {DIV} at (0,0) size 740x53
-    RenderBlock {DIV} at (36,0) size 696x53 [border: (10px solid #00000000) (18px solid #00000000)]
-      RenderBlock {DIV} at (18,5) size 668x42
-        RenderText {#text} at (0,0) size 668x42
-          text run at (0,0) width 668: "Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec ac odio. Fusce facilisis. Praesent eleifend dapibus mi. Proin"
-          text run at (0,14) width 604: "nulla nulla, hendrerit vitae, condimentum non, iaculis sed, sem. Aliquam a turpis nec ante elementum dignissim."
-          text run at (0,28) width 231: "Suspendisse potenti. Suspendisse potenti."
-    RenderText {#text} at (0,0) size 0x0
-layer at (8,29) size 32x32
-  RenderImage {IMG} at (0,21) size 32x32
-layer at (52,65) size 740x32
-  RenderBlock (relative positioned) {DIV} at (44,57) size 740x32
-    RenderBlock {DIV} at (299,0) size 405x25 [border: (10px solid #00000000) (18px solid #00000000) (10px solid #00000000)]
-      RenderBlock {DIV} at (10,5) size 377x14
-        RenderText {#text} at (0,0) size 377x14
-          text run at (0,0) width 377: "Aliquam a turpis nec ante elementum dignissim. Suspendisse potenti."
-    RenderText {#text} at (0,0) size 0x0
-layer at (760,65) size 32x32
-  RenderImage {IMG} at (708,0) size 32x32
-layer at (8,101) size 740x32
-  RenderBlock (relative positioned) {DIV} at (0,93) size 740x32
-    RenderBlock {DIV} at (36,0) size 178x25 [border: (10px solid #00000000) (18px solid #00000000)]
-      RenderBlock {DIV} at (18,5) size 150x14
-        RenderText {#text} at (0,0) size 150x14
-          text run at (0,0) width 150: "Lorem ipsum dolor sit amet."
-    RenderText {#text} at (0,0) size 0x0
-layer at (8,101) size 32x32
-  RenderImage {IMG} at (0,0) size 32x32
-layer at (52,137) size 740x153
-  RenderBlock (relative positioned) {DIV} at (44,129) size 740x153
-    RenderBlock {DIV} at (0,0) size 704x153 [border: (10px solid #00000000) (18px solid #00000000) (10px solid #00000000)]
-      RenderBlock {DIV} at (10,5) size 676x142
-        RenderBlock {DIV} at (0,0) size 676x100 [bgcolor=#EEEEEE]
-          RenderText {#text} at (512,0) size 164x14
-            text run at (512,0) width 164: "Look at me, I'm an attachment!"
-        RenderText {#text} at (8,100) size 668x42
-          text run at (8,100) width 668: "Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec ac odio. Fusce facilisis. Praesent eleifend dapibus mi. Proin"
-          text run at (72,114) width 604: "nulla nulla, hendrerit vitae, condimentum non, iaculis sed, sem. Aliquam a turpis nec ante elementum dignissim."
-          text run at (445,128) width 231: "Suspendisse potenti. Suspendisse potenti."
-    RenderText {#text} at (0,0) size 0x0
-layer at (760,258) size 32x32
-  RenderImage {IMG} at (708,121) size 32x32

Modified: trunk/LayoutTests/platform/glib/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt (285614 => 285615)


--- trunk/LayoutTests/platform/glib/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt	2021-11-11 00:45:20 UTC (rev 285614)
+++ trunk/LayoutTests/platform/glib/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt	2021-11-11 00:47:14 UTC (rev 285615)
@@ -197,7 +197,6 @@
 -webkit-background-composite: source-over
 -webkit-background-origin: padding-box
 -webkit-background-size: auto
--webkit-border-fit: border
 -webkit-border-horizontal-spacing: 0px
 -webkit-border-image: none
 -webkit-border-vertical-spacing: 0px

Modified: trunk/LayoutTests/platform/glib/svg/css/getComputedStyle-basic-expected.txt (285614 => 285615)


--- trunk/LayoutTests/platform/glib/svg/css/getComputedStyle-basic-expected.txt	2021-11-11 00:45:20 UTC (rev 285614)
+++ trunk/LayoutTests/platform/glib/svg/css/getComputedStyle-basic-expected.txt	2021-11-11 00:47:14 UTC (rev 285615)
@@ -394,8 +394,6 @@
 rect: style.getPropertyCSSValue(-webkit-background-origin) : [object CSSPrimitiveValue]
 rect: style.getPropertyValue(-webkit-background-size) : auto
 rect: style.getPropertyCSSValue(-webkit-background-size) : [object CSSPrimitiveValue]
-rect: style.getPropertyValue(-webkit-border-fit) : border
-rect: style.getPropertyCSSValue(-webkit-border-fit) : [object CSSPrimitiveValue]
 rect: style.getPropertyValue(-webkit-border-horizontal-spacing) : 0px
 rect: style.getPropertyCSSValue(-webkit-border-horizontal-spacing) : [object CSSPrimitiveValue]
 rect: style.getPropertyValue(-webkit-border-image) : none
@@ -914,8 +912,6 @@
 g: style.getPropertyCSSValue(-webkit-background-origin) : [object CSSPrimitiveValue]
 g: style.getPropertyValue(-webkit-background-size) : auto
 g: style.getPropertyCSSValue(-webkit-background-size) : [object CSSPrimitiveValue]
-g: style.getPropertyValue(-webkit-border-fit) : border
-g: style.getPropertyCSSValue(-webkit-border-fit) : [object CSSPrimitiveValue]
 g: style.getPropertyValue(-webkit-border-horizontal-spacing) : 0px
 g: style.getPropertyCSSValue(-webkit-border-horizontal-spacing) : [object CSSPrimitiveValue]
 g: style.getPropertyValue(-webkit-border-image) : none

Deleted: trunk/LayoutTests/platform/gtk/fast/borders/border-fit-2-expected.png


(Binary files differ)

Deleted: trunk/LayoutTests/platform/gtk/fast/borders/border-fit-expected.png


(Binary files differ)

Modified: trunk/LayoutTests/platform/gtk/imported/w3c/web-platform-tests/css/cssom/getComputedStyle-detached-subtree-expected.txt (285614 => 285615)


--- trunk/LayoutTests/platform/gtk/imported/w3c/web-platform-tests/css/cssom/getComputedStyle-detached-subtree-expected.txt	2021-11-11 00:45:20 UTC (rev 285614)
+++ trunk/LayoutTests/platform/gtk/imported/w3c/web-platform-tests/css/cssom/getComputedStyle-detached-subtree-expected.txt	2021-11-11 00:47:14 UTC (rev 285615)
@@ -1,8 +1,8 @@
 
 PASS getComputedStyle returns no style for detached element
-FAIL getComputedStyle returns no style for element in non-rendered iframe (display: none) assert_equals: expected 0 but got 394
-FAIL getComputedStyle returns no style for element in non-rendered iframe (display: none) from iframe's window assert_equals: expected 0 but got 394
-FAIL getComputedStyle returns no style for element outside the flat tree assert_equals: expected 0 but got 394
-FAIL getComputedStyle returns no style for descendant outside the flat tree assert_equals: expected 0 but got 394
+FAIL getComputedStyle returns no style for element in non-rendered iframe (display: none) assert_equals: expected 0 but got 393
+FAIL getComputedStyle returns no style for element in non-rendered iframe (display: none) from iframe's window assert_equals: expected 0 but got 393
+FAIL getComputedStyle returns no style for element outside the flat tree assert_equals: expected 0 but got 393
+FAIL getComputedStyle returns no style for descendant outside the flat tree assert_equals: expected 0 but got 393
 PASS getComputedStyle returns no style for shadow tree outside of flattened tree
 

Modified: trunk/LayoutTests/platform/ios/TestExpectations (285614 => 285615)


--- trunk/LayoutTests/platform/ios/TestExpectations	2021-11-11 00:45:20 UTC (rev 285614)
+++ trunk/LayoutTests/platform/ios/TestExpectations	2021-11-11 00:47:14 UTC (rev 285615)
@@ -1504,7 +1504,6 @@
 fast/block/positioning/negative-rel-position.html [ Failure ]
 fast/block/positioning/offsetLeft-offsetTop-multicolumn.html [ ImageOnlyFailure ]
 fast/block/positioning/relative-positioned-inline-container.html [ Failure ]
-fast/borders/border-fit.html [ Failure ]
 fast/borders/border-painting-correctness-dashed.html [ ImageOnlyFailure ]
 fast/borders/border-painting-correctness-dotted.html [ ImageOnlyFailure ]
 fast/borders/border-radius-on-subpixel-position-non-hidpi.html [ ImageOnlyFailure ]

Modified: trunk/LayoutTests/platform/ios/fast/css/getComputedStyle/computed-style-expected.txt (285614 => 285615)


--- trunk/LayoutTests/platform/ios/fast/css/getComputedStyle/computed-style-expected.txt	2021-11-11 00:45:20 UTC (rev 285614)
+++ trunk/LayoutTests/platform/ios/fast/css/getComputedStyle/computed-style-expected.txt	2021-11-11 00:47:14 UTC (rev 285615)
@@ -198,7 +198,6 @@
 -webkit-background-composite: source-over;
 -webkit-background-origin: padding-box;
 -webkit-background-size: auto;
--webkit-border-fit: border;
 -webkit-border-horizontal-spacing: 0px;
 -webkit-border-image: none;
 -webkit-border-vertical-spacing: 0px;

Modified: trunk/LayoutTests/platform/ios/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt (285614 => 285615)


--- trunk/LayoutTests/platform/ios/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt	2021-11-11 00:45:20 UTC (rev 285614)
+++ trunk/LayoutTests/platform/ios/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt	2021-11-11 00:47:14 UTC (rev 285615)
@@ -197,7 +197,6 @@
 -webkit-background-composite: source-over
 -webkit-background-origin: padding-box
 -webkit-background-size: auto
--webkit-border-fit: border
 -webkit-border-horizontal-spacing: 0px
 -webkit-border-image: none
 -webkit-border-vertical-spacing: 0px

Modified: trunk/LayoutTests/platform/ios/imported/w3c/web-platform-tests/css/css-cascade/all-prop-initial-xml-expected.txt (285614 => 285615)


--- trunk/LayoutTests/platform/ios/imported/w3c/web-platform-tests/css/css-cascade/all-prop-initial-xml-expected.txt	2021-11-11 00:45:20 UTC (rev 285614)
+++ trunk/LayoutTests/platform/ios/imported/w3c/web-platform-tests/css/css-cascade/all-prop-initial-xml-expected.txt	2021-11-11 00:47:14 UTC (rev 285615)
@@ -305,7 +305,6 @@
 PASS -webkit-background-composite
 PASS -webkit-background-origin
 PASS -webkit-background-size
-PASS -webkit-border-fit
 PASS -webkit-border-horizontal-spacing
 PASS -webkit-border-image
 PASS -webkit-border-vertical-spacing

Modified: trunk/LayoutTests/platform/ios/imported/w3c/web-platform-tests/css/cssom/getComputedStyle-detached-subtree-expected.txt (285614 => 285615)


--- trunk/LayoutTests/platform/ios/imported/w3c/web-platform-tests/css/cssom/getComputedStyle-detached-subtree-expected.txt	2021-11-11 00:45:20 UTC (rev 285614)
+++ trunk/LayoutTests/platform/ios/imported/w3c/web-platform-tests/css/cssom/getComputedStyle-detached-subtree-expected.txt	2021-11-11 00:47:14 UTC (rev 285615)
@@ -1,8 +1,8 @@
 
 PASS getComputedStyle returns no style for detached element
-FAIL getComputedStyle returns no style for element in non-rendered iframe (display: none) assert_equals: expected 0 but got 400
-FAIL getComputedStyle returns no style for element in non-rendered iframe (display: none) from iframe's window assert_equals: expected 0 but got 400
-FAIL getComputedStyle returns no style for element outside the flat tree assert_equals: expected 0 but got 400
-FAIL getComputedStyle returns no style for descendant outside the flat tree assert_equals: expected 0 but got 400
+FAIL getComputedStyle returns no style for element in non-rendered iframe (display: none) assert_equals: expected 0 but got 399
+FAIL getComputedStyle returns no style for element in non-rendered iframe (display: none) from iframe's window assert_equals: expected 0 but got 399
+FAIL getComputedStyle returns no style for element outside the flat tree assert_equals: expected 0 but got 399
+FAIL getComputedStyle returns no style for descendant outside the flat tree assert_equals: expected 0 but got 399
 PASS getComputedStyle returns no style for shadow tree outside of flattened tree
 

Modified: trunk/LayoutTests/platform/ios/svg/css/getComputedStyle-basic-expected.txt (285614 => 285615)


--- trunk/LayoutTests/platform/ios/svg/css/getComputedStyle-basic-expected.txt	2021-11-11 00:45:20 UTC (rev 285614)
+++ trunk/LayoutTests/platform/ios/svg/css/getComputedStyle-basic-expected.txt	2021-11-11 00:47:14 UTC (rev 285615)
@@ -394,8 +394,6 @@
 rect: style.getPropertyCSSValue(-webkit-background-origin) : [object CSSPrimitiveValue]
 rect: style.getPropertyValue(-webkit-background-size) : auto
 rect: style.getPropertyCSSValue(-webkit-background-size) : [object CSSPrimitiveValue]
-rect: style.getPropertyValue(-webkit-border-fit) : border
-rect: style.getPropertyCSSValue(-webkit-border-fit) : [object CSSPrimitiveValue]
 rect: style.getPropertyValue(-webkit-border-horizontal-spacing) : 0px
 rect: style.getPropertyCSSValue(-webkit-border-horizontal-spacing) : [object CSSPrimitiveValue]
 rect: style.getPropertyValue(-webkit-border-image) : none
@@ -914,8 +912,6 @@
 g: style.getPropertyCSSValue(-webkit-background-origin) : [object CSSPrimitiveValue]
 g: style.getPropertyValue(-webkit-background-size) : auto
 g: style.getPropertyCSSValue(-webkit-background-size) : [object CSSPrimitiveValue]
-g: style.getPropertyValue(-webkit-border-fit) : border
-g: style.getPropertyCSSValue(-webkit-border-fit) : [object CSSPrimitiveValue]
 g: style.getPropertyValue(-webkit-border-horizontal-spacing) : 0px
 g: style.getPropertyCSSValue(-webkit-border-horizontal-spacing) : [object CSSPrimitiveValue]
 g: style.getPropertyValue(-webkit-border-image) : none

Modified: trunk/LayoutTests/platform/mac/TestExpectations (285614 => 285615)


--- trunk/LayoutTests/platform/mac/TestExpectations	2021-11-11 00:45:20 UTC (rev 285614)
+++ trunk/LayoutTests/platform/mac/TestExpectations	2021-11-11 00:47:14 UTC (rev 285615)
@@ -536,11 +536,6 @@
 # Need support for ResourceHandle::didChangePriority and DRT support
 webkit.org/b/111016 http/tests/loading/promote-img-preload-priority.html [ Failure ]
 
-webkit.org/b/111606 fast/borders/border-fit-2.html [ Failure Pass ]
-webkit.org/b/111606 fast/borders/border-fit.html [ Failure Pass ]
-webkit.org/b/111606 fast/repaint/border-fit-lines.html [ Failure Pass ]
-
-
 # The following tests only fail on Mac EWS bots. Unfortunately, we haven't been able to figure out the cause of these failures.
 webkit.org/b/112176 compositing/overflow/composited-scrolling-paint-phases.html [ Failure Pass ]
 webkit.org/b/112176 compositing/overflow/scrolling-without-painting.html [ Failure Pass ]

Deleted: trunk/LayoutTests/platform/mac/fast/borders/border-fit-2-expected.png


(Binary files differ)

Deleted: trunk/LayoutTests/platform/mac/fast/borders/border-fit-expected.png


(Binary files differ)

Modified: trunk/LayoutTests/platform/mac/fast/css/getComputedStyle/computed-style-expected.txt (285614 => 285615)


--- trunk/LayoutTests/platform/mac/fast/css/getComputedStyle/computed-style-expected.txt	2021-11-11 00:45:20 UTC (rev 285614)
+++ trunk/LayoutTests/platform/mac/fast/css/getComputedStyle/computed-style-expected.txt	2021-11-11 00:47:14 UTC (rev 285615)
@@ -198,7 +198,6 @@
 -webkit-background-composite: source-over;
 -webkit-background-origin: padding-box;
 -webkit-background-size: auto;
--webkit-border-fit: border;
 -webkit-border-horizontal-spacing: 0px;
 -webkit-border-image: none;
 -webkit-border-vertical-spacing: 0px;

Modified: trunk/LayoutTests/platform/mac/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt (285614 => 285615)


--- trunk/LayoutTests/platform/mac/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt	2021-11-11 00:45:20 UTC (rev 285614)
+++ trunk/LayoutTests/platform/mac/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt	2021-11-11 00:47:14 UTC (rev 285615)
@@ -197,7 +197,6 @@
 -webkit-background-composite: source-over
 -webkit-background-origin: padding-box
 -webkit-background-size: auto
--webkit-border-fit: border
 -webkit-border-horizontal-spacing: 0px
 -webkit-border-image: none
 -webkit-border-vertical-spacing: 0px

Modified: trunk/LayoutTests/platform/mac/svg/css/getComputedStyle-basic-expected.txt (285614 => 285615)


--- trunk/LayoutTests/platform/mac/svg/css/getComputedStyle-basic-expected.txt	2021-11-11 00:45:20 UTC (rev 285614)
+++ trunk/LayoutTests/platform/mac/svg/css/getComputedStyle-basic-expected.txt	2021-11-11 00:47:14 UTC (rev 285615)
@@ -394,8 +394,6 @@
 rect: style.getPropertyCSSValue(-webkit-background-origin) : [object CSSPrimitiveValue]
 rect: style.getPropertyValue(-webkit-background-size) : auto
 rect: style.getPropertyCSSValue(-webkit-background-size) : [object CSSPrimitiveValue]
-rect: style.getPropertyValue(-webkit-border-fit) : border
-rect: style.getPropertyCSSValue(-webkit-border-fit) : [object CSSPrimitiveValue]
 rect: style.getPropertyValue(-webkit-border-horizontal-spacing) : 0px
 rect: style.getPropertyCSSValue(-webkit-border-horizontal-spacing) : [object CSSPrimitiveValue]
 rect: style.getPropertyValue(-webkit-border-image) : none
@@ -914,8 +912,6 @@
 g: style.getPropertyCSSValue(-webkit-background-origin) : [object CSSPrimitiveValue]
 g: style.getPropertyValue(-webkit-background-size) : auto
 g: style.getPropertyCSSValue(-webkit-background-size) : [object CSSPrimitiveValue]
-g: style.getPropertyValue(-webkit-border-fit) : border
-g: style.getPropertyCSSValue(-webkit-border-fit) : [object CSSPrimitiveValue]
 g: style.getPropertyValue(-webkit-border-horizontal-spacing) : 0px
 g: style.getPropertyCSSValue(-webkit-border-horizontal-spacing) : [object CSSPrimitiveValue]
 g: style.getPropertyValue(-webkit-border-image) : none

Deleted: trunk/LayoutTests/platform/win/fast/borders/border-fit-expected.txt (285614 => 285615)


--- trunk/LayoutTests/platform/win/fast/borders/border-fit-expected.txt	2021-11-11 00:45:20 UTC (rev 285614)
+++ trunk/LayoutTests/platform/win/fast/borders/border-fit-expected.txt	2021-11-11 00:47:14 UTC (rev 285615)
@@ -1,48 +0,0 @@
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 800x600
-  RenderBlock {HTML} at (0,0) size 800x600
-    RenderBody {BODY} at (8,8) size 784x584
-layer at (8,8) size 740x53
-  RenderBlock (relative positioned) {DIV} at (0,0) size 740x53
-    RenderBlock {DIV} at (36,0) size 696x53 [border: (10px solid #00000000) (18px solid #00000000)]
-      RenderBlock {DIV} at (18,5) size 668x42
-        RenderText {#text} at (0,0) size 668x42
-          text run at (0,0) width 668: "Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec ac odio. Fusce facilisis. Praesent eleifend dapibus mi. Proin"
-          text run at (0,14) width 604: "nulla nulla, hendrerit vitae, condimentum non, iaculis sed, sem. Aliquam a turpis nec ante elementum dignissim."
-          text run at (0,28) width 231: "Suspendisse potenti. Suspendisse potenti."
-    RenderText {#text} at (0,0) size 0x0
-layer at (8,29) size 32x32
-  RenderImage {IMG} at (0,21) size 32x32
-layer at (52,65) size 740x32
-  RenderBlock (relative positioned) {DIV} at (44,57) size 740x32
-    RenderBlock {DIV} at (299,0) size 405x25 [border: (10px solid #00000000) (18px solid #00000000) (10px solid #00000000)]
-      RenderBlock {DIV} at (10,5) size 377x14
-        RenderText {#text} at (0,0) size 377x14
-          text run at (0,0) width 377: "Aliquam a turpis nec ante elementum dignissim. Suspendisse potenti."
-    RenderText {#text} at (0,0) size 0x0
-layer at (760,65) size 32x32
-  RenderImage {IMG} at (708,0) size 32x32
-layer at (8,101) size 740x32
-  RenderBlock (relative positioned) {DIV} at (0,93) size 740x32
-    RenderBlock {DIV} at (36,0) size 178x25 [border: (10px solid #00000000) (18px solid #00000000)]
-      RenderBlock {DIV} at (18,5) size 150x14
-        RenderText {#text} at (0,0) size 150x14
-          text run at (0,0) width 150: "Lorem ipsum dolor sit amet."
-    RenderText {#text} at (0,0) size 0x0
-layer at (8,101) size 32x32
-  RenderImage {IMG} at (0,0) size 32x32
-layer at (52,137) size 740x153
-  RenderBlock (relative positioned) {DIV} at (44,129) size 740x153
-    RenderBlock {DIV} at (0,0) size 704x153 [border: (10px solid #00000000) (18px solid #00000000) (10px solid #00000000)]
-      RenderBlock {DIV} at (10,5) size 676x142
-        RenderBlock {DIV} at (0,0) size 676x100 [bgcolor=#EEEEEE]
-          RenderText {#text} at (512,0) size 164x14
-            text run at (512,0) width 164: "Look at me, I'm an attachment!"
-        RenderText {#text} at (8,100) size 668x42
-          text run at (8,100) width 668: "Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec ac odio. Fusce facilisis. Praesent eleifend dapibus mi. Proin"
-          text run at (72,114) width 604: "nulla nulla, hendrerit vitae, condimentum non, iaculis sed, sem. Aliquam a turpis nec ante elementum dignissim."
-          text run at (445,128) width 231: "Suspendisse potenti. Suspendisse potenti."
-    RenderText {#text} at (0,0) size 0x0
-layer at (760,258) size 32x32
-  RenderImage {IMG} at (708,121) size 32x32

Modified: trunk/LayoutTests/platform/wpe/imported/w3c/web-platform-tests/css/cssom/getComputedStyle-detached-subtree-expected.txt (285614 => 285615)


--- trunk/LayoutTests/platform/wpe/imported/w3c/web-platform-tests/css/cssom/getComputedStyle-detached-subtree-expected.txt	2021-11-11 00:45:20 UTC (rev 285614)
+++ trunk/LayoutTests/platform/wpe/imported/w3c/web-platform-tests/css/cssom/getComputedStyle-detached-subtree-expected.txt	2021-11-11 00:47:14 UTC (rev 285615)
@@ -1,8 +1,8 @@
 
 PASS getComputedStyle returns no style for detached element
-FAIL getComputedStyle returns no style for element in non-rendered iframe (display: none) assert_equals: expected 0 but got 394
-FAIL getComputedStyle returns no style for element in non-rendered iframe (display: none) from iframe's window assert_equals: expected 0 but got 394
-FAIL getComputedStyle returns no style for element outside the flat tree assert_equals: expected 0 but got 394
-FAIL getComputedStyle returns no style for descendant outside the flat tree assert_equals: expected 0 but got 394
+FAIL getComputedStyle returns no style for element in non-rendered iframe (display: none) assert_equals: expected 0 but got 393
+FAIL getComputedStyle returns no style for element in non-rendered iframe (display: none) from iframe's window assert_equals: expected 0 but got 393
+FAIL getComputedStyle returns no style for element outside the flat tree assert_equals: expected 0 but got 393
+FAIL getComputedStyle returns no style for descendant outside the flat tree assert_equals: expected 0 but got 393
 PASS getComputedStyle returns no style for shadow tree outside of flattened tree
 

Modified: trunk/LayoutTests/svg/css/getComputedStyle-basic-expected.txt (285614 => 285615)


--- trunk/LayoutTests/svg/css/getComputedStyle-basic-expected.txt	2021-11-11 00:45:20 UTC (rev 285614)
+++ trunk/LayoutTests/svg/css/getComputedStyle-basic-expected.txt	2021-11-11 00:47:14 UTC (rev 285615)
@@ -394,8 +394,6 @@
 rect: style.getPropertyCSSValue(-webkit-background-origin) : [object CSSPrimitiveValue]
 rect: style.getPropertyValue(-webkit-background-size) : auto
 rect: style.getPropertyCSSValue(-webkit-background-size) : [object CSSPrimitiveValue]
-rect: style.getPropertyValue(-webkit-border-fit) : border
-rect: style.getPropertyCSSValue(-webkit-border-fit) : [object CSSPrimitiveValue]
 rect: style.getPropertyValue(-webkit-border-horizontal-spacing) : 0px
 rect: style.getPropertyCSSValue(-webkit-border-horizontal-spacing) : [object CSSPrimitiveValue]
 rect: style.getPropertyValue(-webkit-border-image) : none
@@ -914,8 +912,6 @@
 g: style.getPropertyCSSValue(-webkit-background-origin) : [object CSSPrimitiveValue]
 g: style.getPropertyValue(-webkit-background-size) : auto
 g: style.getPropertyCSSValue(-webkit-background-size) : [object CSSPrimitiveValue]
-g: style.getPropertyValue(-webkit-border-fit) : border
-g: style.getPropertyCSSValue(-webkit-border-fit) : [object CSSPrimitiveValue]
 g: style.getPropertyValue(-webkit-border-horizontal-spacing) : 0px
 g: style.getPropertyCSSValue(-webkit-border-horizontal-spacing) : [object CSSPrimitiveValue]
 g: style.getPropertyValue(-webkit-border-image) : none

Modified: trunk/Source/WebCore/ChangeLog (285614 => 285615)


--- trunk/Source/WebCore/ChangeLog	2021-11-11 00:45:20 UTC (rev 285614)
+++ trunk/Source/WebCore/ChangeLog	2021-11-11 00:47:14 UTC (rev 285615)
@@ -1,3 +1,39 @@
+2021-11-10  Tim Nguyen  <[email protected]>
+
+        Remove non-standard -webkit-border-fit CSS property
+        https://bugs.webkit.org/show_bug.cgi?id=229564
+
+        Reviewed by Simon Fraser.
+
+        * css/CSSComputedStyleDeclaration.cpp:
+        (WebCore::ComputedStyleExtractor::valueForPropertyInStyle):
+        * css/CSSPrimitiveValueMappings.h:
+        (WebCore::CSSPrimitiveValue::operator BorderFit const): Deleted.
+        * css/CSSProperties.json:
+        * css/CSSValueKeywords.in:
+        * css/parser/CSSParserFastPaths.cpp:
+        (WebCore::CSSParserFastPaths::isValidKeywordPropertyAndValue):
+        (WebCore::CSSParserFastPaths::isKeywordPropertyID):
+        * rendering/RenderBlockFlow.cpp:
+        (WebCore::RenderBlockFlow::layoutBlock):
+        (WebCore::RenderBlockFlow::adjustForBorderFit const): Deleted.
+        (WebCore::RenderBlockFlow::fitBorderToLinesIfNeeded): Deleted.
+        * rendering/RenderBlockFlow.h:
+        * rendering/RenderBox.cpp:
+        (WebCore::RenderBox::computeLogicalWidthInFragment const):
+        * rendering/RenderElement.cpp:
+        (WebCore::RenderElement::repaintAfterLayoutIfNeeded):
+        * rendering/style/RenderStyle.cpp:
+        (WebCore::rareNonInheritedDataChangeRequiresRepaint):
+        * rendering/style/RenderStyle.h:
+        (WebCore::RenderStyle::borderFit const): Deleted.
+        (WebCore::RenderStyle::setBorderFit): Deleted.
+        (WebCore::RenderStyle::initialBorderFit): Deleted.
+        * rendering/style/RenderStyleConstants.cpp:
+        * rendering/style/RenderStyleConstants.h:
+        * rendering/style/StyleRareNonInheritedData.cpp:
+        (WebCore::StyleRareNonInheritedData::StyleRareNonInheritedData):
+
 2021-11-10  Devin Rousso  <[email protected]>
 
         Add support for marking an `<input>` as being autofilled with obscured content

Modified: trunk/Source/WebCore/css/CSSComputedStyleDeclaration.cpp (285614 => 285615)


--- trunk/Source/WebCore/css/CSSComputedStyleDeclaration.cpp	2021-11-11 00:45:20 UTC (rev 285614)
+++ trunk/Source/WebCore/css/CSSComputedStyleDeclaration.cpp	2021-11-11 00:47:14 UTC (rev 285615)
@@ -3103,10 +3103,6 @@
             if (style.hyphenationLimitLines() < 0)
                 return CSSPrimitiveValue::createIdentifier(CSSValueNoLimit);
             return CSSPrimitiveValue::create(style.hyphenationLimitLines(), CSSUnitType::CSS_NUMBER);
-        case CSSPropertyWebkitBorderFit:
-            if (style.borderFit() == BorderFit::Border)
-                return cssValuePool.createIdentifierValue(CSSValueBorder);
-            return cssValuePool.createIdentifierValue(CSSValueLines);
         case CSSPropertyImageOrientation:
             if (style.imageOrientation() == ImageOrientation::FromImage)
                 return cssValuePool.createIdentifierValue(CSSValueFromImage);

Modified: trunk/Source/WebCore/css/CSSPrimitiveValueMappings.h (285614 => 285615)


--- trunk/Source/WebCore/css/CSSPrimitiveValueMappings.h	2021-11-11 00:45:20 UTC (rev 285614)
+++ trunk/Source/WebCore/css/CSSPrimitiveValueMappings.h	2021-11-11 00:47:14 UTC (rev 285615)
@@ -4135,37 +4135,6 @@
     return BorderCollapse::Separate;
 }
 
-template<> inline CSSPrimitiveValue::CSSPrimitiveValue(BorderFit e)
-    : CSSValue(PrimitiveClass)
-{
-    setPrimitiveUnitType(CSSUnitType::CSS_VALUE_ID);
-    switch (e) {
-    case BorderFit::Border:
-        m_value.valueID = CSSValueBorder;
-        break;
-    case BorderFit::Lines:
-        m_value.valueID = CSSValueLines;
-        break;
-    }
-}
-
-template<> inline CSSPrimitiveValue::operator BorderFit() const
-{
-    ASSERT(isValueID());
-
-    switch (m_value.valueID) {
-    case CSSValueBorder:
-        return BorderFit::Border;
-    case CSSValueLines:
-        return BorderFit::Lines;
-    default:
-        break;
-    }
-
-    ASSERT_NOT_REACHED();
-    return BorderFit::Lines;
-}
-
 template<> inline CSSPrimitiveValue::CSSPrimitiveValue(ImageRendering imageRendering)
     : CSSValue(PrimitiveClass)
 {

Modified: trunk/Source/WebCore/css/CSSProperties.json (285614 => 285615)


--- trunk/Source/WebCore/css/CSSProperties.json	2021-11-11 00:45:20 UTC (rev 285614)
+++ trunk/Source/WebCore/css/CSSProperties.json	2021-11-11 00:47:14 UTC (rev 285615)
@@ -5103,13 +5103,6 @@
                 "comment": "Differs from background-size only in the interpretation of a single value: '-webkit-background-size: l;' is equivalent to 'background-size: l l;' whereas 'background-size: l;' is equivalent to 'background-size: l auto;'"
             }
         },
-        "-webkit-border-fit": {
-            "values": [
-                "border",
-                "lines"
-            ],
-            "status": "non-standard"
-        },
         "-webkit-border-horizontal-spacing": {
             "inherited": true,
             "codegen-properties": {

Modified: trunk/Source/WebCore/css/CSSValueKeywords.in (285614 => 285615)


--- trunk/Source/WebCore/css/CSSValueKeywords.in	2021-11-11 00:45:20 UTC (rev 285614)
+++ trunk/Source/WebCore/css/CSSValueKeywords.in	2021-11-11 00:47:14 UTC (rev 285615)
@@ -963,11 +963,6 @@
 visual
 
 //
-// CSS_PROP__WEBKIT_BORDER_FIT
-//
-lines
-
-//
 // CSS_PROP__WEBKIT_ANIMATION_DIRECTION
 //
 // alternate

Modified: trunk/Source/WebCore/css/parser/CSSParserFastPaths.cpp (285614 => 285615)


--- trunk/Source/WebCore/css/parser/CSSParserFastPaths.cpp	2021-11-11 00:45:20 UTC (rev 285614)
+++ trunk/Source/WebCore/css/parser/CSSParserFastPaths.cpp	2021-11-11 00:47:14 UTC (rev 285615)
@@ -841,8 +841,6 @@
         return valueID == CSSValueNormal || valueID == CSSValuePre || valueID == CSSValuePreWrap || valueID == CSSValuePreLine || valueID == CSSValueNowrap || valueID == CSSValueBreakSpaces;
     case CSSPropertyWordBreak: // normal | break-all | keep-all | break-word (this is a custom extension)
         return valueID == CSSValueNormal || valueID == CSSValueBreakAll || valueID == CSSValueKeepAll || valueID == CSSValueBreakWord;
-    case CSSPropertyWebkitBorderFit:
-        return valueID == CSSValueBorder || valueID == CSSValueLines;
 #if ENABLE(CSS_TRAILING_WORD)
     case CSSPropertyAppleTrailingWord: // auto | -apple-partially-balanced
         return valueID == CSSValueAuto || valueID == CSSValueWebkitPartiallyBalanced;
@@ -964,7 +962,6 @@
     case CSSPropertyVisibility:
     case CSSPropertyAppearance:
     case CSSPropertyBackfaceVisibility:
-    case CSSPropertyWebkitBorderFit:
     case CSSPropertyWebkitBoxAlign:
     case CSSPropertyWebkitBoxDirection:
     case CSSPropertyWebkitBoxLines:

Modified: trunk/Source/WebCore/rendering/RenderBlockFlow.cpp (285614 => 285615)


--- trunk/Source/WebCore/rendering/RenderBlockFlow.cpp	2021-11-11 00:45:20 UTC (rev 285614)
+++ trunk/Source/WebCore/rendering/RenderBlockFlow.cpp	2021-11-11 00:47:14 UTC (rev 285615)
@@ -580,8 +580,6 @@
     // Add overflow from children (unless we're multi-column, since in that case all our child overflow is clipped anyway).
     computeOverflow(oldClientAfterEdge);
 
-    fitBorderToLinesIfNeeded();
-
     auto* state = view().frameView().layoutContext().layoutState();
     if (state && state->pageLogicalHeight())
         setPageLogicalOffset(state->pageLogicalOffset(this, logicalTop()));
@@ -3046,73 +3044,6 @@
         legacyLineLayout()->addOverflowFromInlineChildren();
 }
 
-void RenderBlockFlow::adjustForBorderFit(LayoutUnit x, LayoutUnit& left, LayoutUnit& right) const
-{
-    if (style().visibility() != Visibility::Visible)
-        return;
-
-    // We don't deal with relative positioning.  Our assumption is that you shrink to fit the lines without accounting
-    // for either overflow or translations via relative positioning.
-    if (childrenInline()) {
-        for (auto line = InlineIterator::firstLineFor(*this); line; line.traverseNext()) {
-            left = std::min(left, x + LayoutUnit(line->contentLogicalLeft()));
-            right = std::max(right, x + LayoutUnit(ceilf(line->contentLogicalRight())));
-        }
-    } else {
-        for (RenderBox* obj = firstChildBox(); obj; obj = obj->nextSiblingBox()) {
-            if (!obj->isFloatingOrOutOfFlowPositioned()) {
-                if (is<RenderBlockFlow>(*obj) && !obj->hasNonVisibleOverflow())
-                    downcast<RenderBlockFlow>(*obj).adjustForBorderFit(x + obj->x(), left, right);
-                else if (obj->style().visibility() == Visibility::Visible) {
-                    // We are a replaced element or some kind of non-block-flow object.
-                    left = std::min(left, x + obj->x());
-                    right = std::max(right, x + obj->x() + obj->width());
-                }
-            }
-        }
-    }
-
-    if (m_floatingObjects) {
-        const FloatingObjectSet& floatingObjectSet = m_floatingObjects->set();
-        auto end = floatingObjectSet.end();
-        for (auto it = floatingObjectSet.begin(); it != end; ++it) {
-            const auto& floatingObject = *it->get();
-            if (floatingObject.paintsFloat()) {
-                LayoutUnit floatLeft = floatingObject.translationOffsetToAncestor().width();
-                LayoutUnit floatRight = floatLeft + floatingObject.renderer().width();
-                left = std::min(left, floatLeft);
-                right = std::max(right, floatRight);
-            }
-        }
-    }
-}
-
-void RenderBlockFlow::fitBorderToLinesIfNeeded()
-{
-    if (style().borderFit() == BorderFit::Border || hasOverridingLogicalWidth())
-        return;
-
-    // Walk any normal flow lines to snugly fit.
-    LayoutUnit left = LayoutUnit::max();
-    LayoutUnit right = LayoutUnit::min();
-    LayoutUnit oldWidth = contentWidth();
-    adjustForBorderFit(0, left, right);
-    
-    // Clamp to our existing edges. We can never grow. We only shrink.
-    LayoutUnit leftEdge = borderLeft() + paddingLeft();
-    LayoutUnit rightEdge = leftEdge + oldWidth;
-    left = std::min(rightEdge, std::max(leftEdge, left));
-    right = std::max(leftEdge, std::min(rightEdge, right));
-    
-    LayoutUnit newContentWidth = right - left;
-    if (newContentWidth == oldWidth)
-        return;
-
-    setOverridingLogicalWidth(newContentWidth + borderAndPaddingLogicalWidth());
-    layoutBlock(false);
-    clearOverridingLogicalWidth();
-}
-
 void RenderBlockFlow::markLinesDirtyInBlockRange(LayoutUnit logicalTop, LayoutUnit logicalBottom, LegacyRootInlineBox* highest)
 {
     if (logicalTop >= logicalBottom)

Modified: trunk/Source/WebCore/rendering/RenderBlockFlow.h (285614 => 285615)


--- trunk/Source/WebCore/rendering/RenderBlockFlow.h	2021-11-11 00:45:20 UTC (rev 285614)
+++ trunk/Source/WebCore/rendering/RenderBlockFlow.h	2021-11-11 00:47:14 UTC (rev 285615)
@@ -523,9 +523,6 @@
     bool hitTestInlineChildren(const HitTestRequest&, HitTestResult&, const HitTestLocation& locationInContainer, const LayoutPoint& accumulatedOffset, HitTestAction) override;
 
     void addOverflowFromInlineChildren() override;
-    
-    void fitBorderToLinesIfNeeded(); // Shrink the box in which the border paints if border-fit is set.
-    void adjustForBorderFit(LayoutUnit x, LayoutUnit& left, LayoutUnit& right) const;
 
     void markLinesDirtyInBlockRange(LayoutUnit logicalTop, LayoutUnit logicalBottom, LegacyRootInlineBox* highest = 0);
 

Modified: trunk/Source/WebCore/rendering/RenderBox.cpp (285614 => 285615)


--- trunk/Source/WebCore/rendering/RenderBox.cpp	2021-11-11 00:45:20 UTC (rev 285614)
+++ trunk/Source/WebCore/rendering/RenderBox.cpp	2021-11-11 00:47:14 UTC (rev 285615)
@@ -2610,7 +2610,7 @@
     // width.  Use the width from the style context.
     // FIXME: Account for block-flow in flexible boxes.
     // https://bugs.webkit.org/show_bug.cgi?id=46418
-    if (hasOverridingLogicalWidth() && (isRubyRun() || style().borderFit() == BorderFit::Lines || (parent()->isFlexibleBoxIncludingDeprecated()))) {
+    if (hasOverridingLogicalWidth() && (isRubyRun() || (parent()->isFlexibleBoxIncludingDeprecated()))) {
         computedValues.m_extent = overridingLogicalWidth();
         return;
     }

Modified: trunk/Source/WebCore/rendering/RenderElement.cpp (285614 => 285615)


--- trunk/Source/WebCore/rendering/RenderElement.cpp	2021-11-11 00:45:20 UTC (rev 285614)
+++ trunk/Source/WebCore/rendering/RenderElement.cpp	2021-11-11 00:47:14 UTC (rev 285615)
@@ -1235,9 +1235,6 @@
     LayoutRect newOutlineBox;
 
     bool fullRepaint = selfNeedsLayout();
-    // Presumably a background or a border exists if border-fit:lines was specified.
-    if (!fullRepaint && style().borderFit() == BorderFit::Lines)
-        fullRepaint = true;
     if (!fullRepaint) {
         // This ASSERT fails due to animations. See https://bugs.webkit.org/show_bug.cgi?id=37048
         // ASSERT(!newOutlineBoxRectPtr || *newOutlineBoxRectPtr == outlineBoundsForRepaint(repaintContainer));

Modified: trunk/Source/WebCore/rendering/style/RenderStyle.cpp (285614 => 285615)


--- trunk/Source/WebCore/rendering/style/RenderStyle.cpp	2021-11-11 00:45:20 UTC (rev 285614)
+++ trunk/Source/WebCore/rendering/style/RenderStyle.cpp	2021-11-11 00:47:14 UTC (rev 285615)
@@ -1042,7 +1042,6 @@
 static bool rareNonInheritedDataChangeRequiresRepaint(const StyleRareNonInheritedData& first, const StyleRareNonInheritedData& second, OptionSet<StyleDifferenceContextSensitiveProperty>& changedContextSensitiveProperties)
 {
     if (first.userDrag != second.userDrag
-        || first.borderFit != second.borderFit
         || first.objectFit != second.objectFit
         || first.objectPosition != second.objectPosition)
         return true;

Modified: trunk/Source/WebCore/rendering/style/RenderStyle.h (285614 => 285615)


--- trunk/Source/WebCore/rendering/style/RenderStyle.h	2021-11-11 00:45:20 UTC (rev 285614)
+++ trunk/Source/WebCore/rendering/style/RenderStyle.h	2021-11-11 00:47:14 UTC (rev 285615)
@@ -626,7 +626,6 @@
     const AtomString& hyphenationString() const { return m_rareInheritedData->hyphenationString; }
     const AtomString& computedLocale() const { return fontDescription().computedLocale(); }
     const AtomString& specifiedLocale() const { return fontDescription().specifiedLocale(); }
-    BorderFit borderFit() const { return static_cast<BorderFit>(m_rareNonInheritedData->borderFit); }
     Resize resize() const { return static_cast<Resize>(m_rareNonInheritedData->resize); }
     ColumnAxis columnAxis() const { return static_cast<ColumnAxis>(m_rareNonInheritedData->multiCol->axis); }
     bool hasInlineColumnAxis() const;
@@ -1221,7 +1220,6 @@
     void setHyphenationLimitAfter(short limit) { SET_VAR(m_rareInheritedData, hyphenationLimitAfter, limit); }
     void setHyphenationLimitLines(short limit) { SET_VAR(m_rareInheritedData, hyphenationLimitLines, limit); }
     void setHyphenationString(const AtomString& h) { SET_VAR(m_rareInheritedData, hyphenationString, h); }
-    void setBorderFit(BorderFit b) { SET_VAR(m_rareNonInheritedData, borderFit, static_cast<unsigned>(b)); }
     void setResize(Resize r) { SET_VAR(m_rareNonInheritedData, resize, static_cast<unsigned>(r)); }
     void setColumnAxis(ColumnAxis axis) { SET_NESTED_VAR(m_rareNonInheritedData, multiCol, axis, static_cast<unsigned>(axis)); }
     void setColumnProgression(ColumnProgression progression) { SET_NESTED_VAR(m_rareNonInheritedData, multiCol, progression, static_cast<unsigned>(progression)); }
@@ -1666,7 +1664,6 @@
     static short initialHyphenationLimitAfter() { return -1; }
     static short initialHyphenationLimitLines() { return -1; }
     static const AtomString& initialHyphenationString() { return nullAtom(); }
-    static BorderFit initialBorderFit() { return BorderFit::Border; }
     static Resize initialResize() { return Resize::None; }
     static ControlPart initialAppearance() { return NoControlPart; }
     static AspectRatioType initialAspectRatioType() { return AspectRatioType::Auto; }

Modified: trunk/Source/WebCore/rendering/style/RenderStyleConstants.cpp (285614 => 285615)


--- trunk/Source/WebCore/rendering/style/RenderStyleConstants.cpp	2021-11-11 00:45:20 UTC (rev 285614)
+++ trunk/Source/WebCore/rendering/style/RenderStyleConstants.cpp	2021-11-11 00:47:14 UTC (rev 285615)
@@ -127,15 +127,6 @@
     return ts;
 }
 
-TextStream& operator<<(TextStream& ts, BorderFit borderFit)
-{
-    switch (borderFit) {
-    case BorderFit::Border: ts << "border"; break;
-    case BorderFit::Lines: ts << "lines"; break;
-    }
-    return ts;
-}
-
 TextStream& operator<<(TextStream& ts, BorderStyle borderStyle)
 {
     switch (borderStyle) {

Modified: trunk/Source/WebCore/rendering/style/RenderStyleConstants.h (285614 => 285615)


--- trunk/Source/WebCore/rendering/style/RenderStyleConstants.h	2021-11-11 00:45:20 UTC (rev 285614)
+++ trunk/Source/WebCore/rendering/style/RenderStyleConstants.h	2021-11-11 00:47:14 UTC (rev 285615)
@@ -690,11 +690,6 @@
     NoCloseQuote
 };
 
-enum class BorderFit : uint8_t {
-    Border,
-    Lines
-};
-
 enum class AnimationFillMode : uint8_t {
     None,
     Forwards,
@@ -1258,7 +1253,6 @@
 WTF::TextStream& operator<<(WTF::TextStream&, AutoRepeatType);
 WTF::TextStream& operator<<(WTF::TextStream&, BackfaceVisibility);
 WTF::TextStream& operator<<(WTF::TextStream&, BorderCollapse);
-WTF::TextStream& operator<<(WTF::TextStream&, BorderFit);
 WTF::TextStream& operator<<(WTF::TextStream&, BorderStyle);
 WTF::TextStream& operator<<(WTF::TextStream&, BoxAlignment);
 WTF::TextStream& operator<<(WTF::TextStream&, BoxDecorationBreak);

Modified: trunk/Source/WebCore/rendering/style/StyleRareNonInheritedData.cpp (285614 => 285615)


--- trunk/Source/WebCore/rendering/style/StyleRareNonInheritedData.cpp	2021-11-11 00:45:20 UTC (rev 285614)
+++ trunk/Source/WebCore/rendering/style/StyleRareNonInheritedData.cpp	2021-11-11 00:47:14 UTC (rev 285615)
@@ -94,7 +94,6 @@
     , marginAfterCollapse(static_cast<unsigned>(MarginCollapse::Collapse))
     , appearance(static_cast<unsigned>(RenderStyle::initialAppearance()))
     , effectiveAppearance(static_cast<unsigned>(RenderStyle::initialAppearance()))
-    , borderFit(static_cast<unsigned>(RenderStyle::initialBorderFit()))
     , textCombine(static_cast<unsigned>(RenderStyle::initialTextCombine()))
     , textDecorationStyle(static_cast<unsigned>(RenderStyle::initialTextDecorationStyle()))
     , aspectRatioType(static_cast<unsigned>(RenderStyle::initialAspectRatioType()))

Modified: trunk/Source/WebInspectorUI/ChangeLog (285614 => 285615)


--- trunk/Source/WebInspectorUI/ChangeLog	2021-11-11 00:45:20 UTC (rev 285614)
+++ trunk/Source/WebInspectorUI/ChangeLog	2021-11-11 00:47:14 UTC (rev 285615)
@@ -1,3 +1,12 @@
+2021-11-10  Tim Nguyen  <[email protected]>
+
+        Remove non-standard -webkit-border-fit CSS property
+        https://bugs.webkit.org/show_bug.cgi?id=229564
+
+        Reviewed by Simon Fraser.
+
+        * UserInterface/Models/CSSKeywordCompletions.js:
+
 2021-11-10  Alexey Proskuryakov  <[email protected]>
 
         WebInspectorUI needs to support InstallAPI

Modified: trunk/Source/WebInspectorUI/UserInterface/Models/CSSKeywordCompletions.js (285614 => 285615)


--- trunk/Source/WebInspectorUI/UserInterface/Models/CSSKeywordCompletions.js	2021-11-11 00:45:20 UTC (rev 285614)
+++ trunk/Source/WebInspectorUI/UserInterface/Models/CSSKeywordCompletions.js	2021-11-11 00:47:14 UTC (rev 285615)
@@ -1006,9 +1006,6 @@
     "-webkit-border-end-width": [
         "medium", "thick", "thin", "calc()",
     ],
-    "-webkit-border-fit": [
-        "border", "lines",
-    ],
     "-webkit-border-start-width": [
         "medium", "thick", "thin", "calc()",
     ],

Modified: trunk/Tools/ChangeLog (285614 => 285615)


--- trunk/Tools/ChangeLog	2021-11-11 00:45:20 UTC (rev 285614)
+++ trunk/Tools/ChangeLog	2021-11-11 00:47:14 UTC (rev 285615)
@@ -1,3 +1,12 @@
+2021-11-10  Tim Nguyen  <[email protected]>
+
+        Remove non-standard -webkit-border-fit CSS property
+        https://bugs.webkit.org/show_bug.cgi?id=229564
+
+        Reviewed by Simon Fraser.
+
+        * LayoutReloaded/misc/LFC-passing-tests.txt:
+
 2021-11-10  Myles C. Maxfield  <[email protected]>
 
         [Cocoa] Build WebGPU on our bots

Modified: trunk/Tools/LayoutReloaded/misc/LFC-passing-tests.txt (285614 => 285615)


--- trunk/Tools/LayoutReloaded/misc/LFC-passing-tests.txt	2021-11-11 00:45:20 UTC (rev 285614)
+++ trunk/Tools/LayoutReloaded/misc/LFC-passing-tests.txt	2021-11-11 00:47:14 UTC (rev 285615)
@@ -372,7 +372,6 @@
 fast/borders/block-mask-overlay-image-outset.html
 fast/borders/block-mask-overlay-image.html
 fast/borders/border-color-inherit.html
-fast/borders/border-fit.html
 fast/borders/border-image-01.html
 fast/borders/border-image-border-radius.html
 fast/borders/border-image-fill-no-intrinsic-size.html
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to