Diff
Modified: trunk/LayoutTests/TestExpectations (294755 => 294756)
--- trunk/LayoutTests/TestExpectations 2022-05-24 19:12:38 UTC (rev 294755)
+++ trunk/LayoutTests/TestExpectations 2022-05-24 19:18:53 UTC (rev 294756)
@@ -2648,6 +2648,9 @@
webkit.org/b/214290 imported/w3c/web-platform-tests/css/css-text/text-encoding/shaping-tatweel-002.html [ ImageOnlyFailure ]
webkit.org/b/214290 imported/w3c/web-platform-tests/css/css-text/text-encoding/shaping-tatweel-003.html [ ImageOnlyFailure ]
webkit.org/b/214290 imported/w3c/web-platform-tests/css/css-text/text-indent/text-indent-tab-positions-001.html [ ImageOnlyFailure ]
+webkit.org/b/240837 imported/w3c/web-platform-tests/css/css-text/text-indent/anonymous-flex-item-001.html [ ImageOnlyFailure ]
+webkit.org/b/240837 imported/w3c/web-platform-tests/css/css-text/text-indent/anonymous-grid-item-001.html [ ImageOnlyFailure ]
+webkit.org/b/240731 imported/w3c/web-platform-tests/css/css-text/text-indent/text-indent-each-line-hanging.html [ ImageOnlyFailure ]
webkit.org/b/183258 imported/w3c/web-platform-tests/css/css-text/text-justify/text-justify-001.html [ ImageOnlyFailure ]
webkit.org/b/214290 imported/w3c/web-platform-tests/css/css-text/text-justify/text-justify-006.html [ ImageOnlyFailure ]
webkit.org/b/183258 imported/w3c/web-platform-tests/css/css-text/text-transform/text-transform-capitalize-018.html [ ImageOnlyFailure Pass ]
@@ -2911,7 +2914,6 @@
# CSS3 Text support is not yet enabled (needs ENABLE_CSS3_TEXT).
webkit.org/b/76173 fast/css3-text/css3-text-align-last [ Skip ]
webkit.org/b/99945 fast/css3-text/css3-text-justify [ Skip ]
-webkit.org/b/112755 fast/css3-text/css3-text-indent/text-indent-each-line-hanging.html [ Skip ]
# Link prefetch is disabled by default (needs ENABLE_LINK_PREFETCH)
webkit.org/b/3652 fast/dom/HTMLLinkElement/link-and-subresource-test.html [ Skip ]
Deleted: trunk/LayoutTests/fast/css3-text/css3-text-indent/text-indent-each-line-hanging-expected.html (294755 => 294756)
--- trunk/LayoutTests/fast/css3-text/css3-text-indent/text-indent-each-line-hanging-expected.html 2022-05-24 19:12:38 UTC (rev 294755)
+++ trunk/LayoutTests/fast/css3-text/css3-text-indent/text-indent-each-line-hanging-expected.html 2022-05-24 19:18:53 UTC (rev 294756)
@@ -1,42 +0,0 @@
-<html>
-<head>
- <title>[css3-text] text-indent</title>
- <style>
- div { width:80px; font: 10px Ahem; background-color:lightgray; }
- .indent { color: blue; padding-left:4em; }
- </style>
-</head>
-<body>
-<div>
-<span class="indent">xxxx</span><br>xxxx<br>xxxx
-</div>
-<br>
-<div>
-<span class="indent">xxxx</span> xxxx xxxx
-</div>
-<br>
-<div>
-<span class="indent">xxxx</span><br><span class="indent">xxxx</span><br><span class="indent">xxxx</span>
-</div>
-<br>
-<div>
-<span class="indent">xxxx</span> xxxx<br><span class="indent">xxxx</span>
-</div>
-<br>
-<div>
-xxxx<br><span class="indent">xxxx</span><br><span class="indent">xxxx</span>
-</div>
-<br>
-<div>
-xxxx <span class="indent">xxxx</span> <span class="indent">xxxx</span>
-</div>
-<br>
-<div>
-xxxx<br>xxxx<br>xxxx
-</div>
-<br>
-<div>
-xxxx <span class="indent">xxxx</span><br>xxxx
-</div>
-</body>
-</html>
Deleted: trunk/LayoutTests/fast/css3-text/css3-text-indent/text-indent-each-line-hanging.html (294755 => 294756)
--- trunk/LayoutTests/fast/css3-text/css3-text-indent/text-indent-each-line-hanging.html 2022-05-24 19:12:38 UTC (rev 294755)
+++ trunk/LayoutTests/fast/css3-text/css3-text-indent/text-indent-each-line-hanging.html 2022-05-24 19:18:53 UTC (rev 294756)
@@ -1,59 +0,0 @@
-<html>
-<head>
- <title>[css3-text] text-indent</title>
- <style>
- div { width:80px; font: 10px Ahem; background-color:lightgray; }
- .normal { text-indent: 4em; }
- .eachline { text-indent: 4em -webkit-each-line; }
- .hanging { text-indent: 4em -webkit-hanging; }
- .eachlinehanging { text-indent: 4em -webkit-each-line -webkit-hanging; }
- .indent { color: blue; }
- </style>
-</head
-<body>
-<!--
-all black boxes should be left-aligned.
-all blue boxes should be right-aligned.
--->
-
-<!-- normal text-indent -->
-<div class="normal">
-<span class="indent">xxxx</span> xxxx<br>xxxx
-</div>
-<br>
-<!-- -webkit-each-line with a soft wrap break -->
-<div class="eachline">
-<span class="indent">xxxx</span> xxxx xxxx
-</div>
-<br>
-<!-- -webkit-each-line with a forced line break -->
-<div class="eachline">
-<span class="indent">xxxx</span><br><span class="indent">xxxx</span><br><span class="indent">xxxx</span>
-</div>
-<br>
-<!-- -webkit-each-line with a soft wrap break and a forced line break -->
-<div class="eachline">
-<span class="indent">xxxx</span> xxxx<br><span class="indent">xxxx</span>
-</div>
-<br>
-<!-- normal text-indent with -webkit-hanging -->
-<div class="hanging">
-xxxx <span class="indent">xxxx</span><br><span class="indent">xxxx</span>
-</div>
-<br>
-<!-- -webkit-each-line and -webkit-hanging with a soft wrap break -->
-<div class="eachlinehanging">
-xxxx <span class="indent">xxxx</span> <span class="indent">xxxx</span>
-</div>
-<br>
-<!-- -webkit-each-line and -webkit-hanging with a forced line break -->
-<div class="eachlinehanging">
-xxxx<br>xxxx<br>xxxx
-</div>
-<br>
-<!-- -webkit-each-line and -webkit-hanging with a soft wrap break and a forced line break -->
-<div class="eachlinehanging">
-xxxx <span class="indent">xxxx</span><br>xxxx
-</div>
-</body>
-</html>
Deleted: trunk/LayoutTests/fast/css3-text/css3-text-indent/text-indent-with-absolute-pos-child-expected.html (294755 => 294756)
--- trunk/LayoutTests/fast/css3-text/css3-text-indent/text-indent-with-absolute-pos-child-expected.html 2022-05-24 19:12:38 UTC (rev 294755)
+++ trunk/LayoutTests/fast/css3-text/css3-text-indent/text-indent-with-absolute-pos-child-expected.html 2022-05-24 19:18:53 UTC (rev 294756)
@@ -1,58 +0,0 @@
-<!DOCTYPE HTML>
-<html>
-<head>
-<title>This tests that first line text-indent is applied properly when the child is a statically positioned out-of-flow renderer.</title>
-<style>
- body {
- margin: 40px;
- }
-
-.container {
- display: block;
- background-color: green;
- width: 100px;
- height: 20px;
- color: green;
- font-family: Ahem;
- font-size: 10px;
-}
-
-.inner {
- display: block;
- background-color: blue;
- width: 20px;
- height: 20px;
-}
-</style>
-</head>
-<body>
-<div>
-<div class=container><div class=inner style="margin-left: 20px;"></div></div>
-<div class=container><div class=inner style="margin-left: 20px;"></div></div>
-<div class=container><div class=inner style="margin-left: 20px;"></div></div>
-<div class=container><div class=inner style="margin-left: 20px;"></div></div>
-<div class=container><div class=inner style="position: relative; left: 70px;"></div></div>
-<div class=container><div class=inner style="margin-left: -20px;"></div></div>
-<div class=container><div class=inner style="left: 40px;"></div></div>
-<div class=container><div class=inner></div></div>
-<div class=container><div class=inner></div></div>
-<div class=container><div class=inner style="position: relative; top: 10px"></div></div>
-<div class=container><div class=inner></div></div>
-</div>
-
-<div style="direction: rtl;">
-<div class=container><div class=inner style="margin-right: 20px;"></div></div>
-<div class=container><div class=inner style="margin-right: 20px;"></div></div>
-<div class=container><div class=inner style="margin-right: 20px;"></div></div>
-<div class=container><div class=inner style="margin-right: 20px;"></div></div>
-<div class=container><div class=inner style="position: relative; right: 70px;"></div></div>
-<div class=container><div class=inner style="margin-right: -20px;"></div></div>
-<div class=container><div class=inner style="right: 40px;"></div></div>
-<div class=container><div class=inner></div></div>
-<div class=container><div class=inner></div></div>
-<div class=container><div class=inner style="position: relative; top: 10px"></div></div>
-<div class=container><div class=inner></div></div>
-</div>
-
-</body>
-</html>
\ No newline at end of file
Deleted: trunk/LayoutTests/fast/css3-text/css3-text-indent/text-indent-with-absolute-pos-child.html (294755 => 294756)
--- trunk/LayoutTests/fast/css3-text/css3-text-indent/text-indent-with-absolute-pos-child.html 2022-05-24 19:12:38 UTC (rev 294755)
+++ trunk/LayoutTests/fast/css3-text/css3-text-indent/text-indent-with-absolute-pos-child.html 2022-05-24 19:18:53 UTC (rev 294756)
@@ -1,59 +0,0 @@
-<!DOCTYPE HTML>
-<html>
-<head>
-<title>This tests that first line text-indent is applied properly when the child is a statically positioned out-of-flow renderer.</title>
-<style>
- body {
- margin: 40px;
- }
-
-.container {
- display: block;
- background-color: green;
- width: 100px;
- height: 20px;
- color: green;
- font-family: Ahem;
- font-size: 10px;
-}
-
-.inner {
- display: inline;
- position: absolute;
- background-color: blue;
- width: 20px;
- height: 20px;
-}
-</style>
-</head>
-<body>
-<div>
-<div class=container style="text-indent: 20px"><div class=inner></div></div>
-<div class=container style="text-indent: 20px"><div class=inner style="display: inline-block;"></div></div>
-<div class=container style="text-indent: 20px"><div class=inner></div>foobar</div>
-<div class=container style="text-indent: 20px"><div class=inner style="text-indent: 20px;">f</div></div>
-<div class=container style="text-indent: 10px">foobar<div class=inner></div></div>
-<div class=container style="text-indent: -20px"><div class=inner></div></div>
-<div class=container style="text-indent: 20px"><div class=inner style="left: 40px;"></div></div>
-<div class=container style="text-indent: 20px"><div class=inner style="display: block;"></div></div>
-<div class=container style="text-indent: 20px"><div class=inner style="position: relative; display: block;"></div></div>
-<div class=container style="text-indent: 20px">foobar<br><div class=inner></div></div>
-<div class=container><div class=inner></div></div>
-</div>
-
-<div style="direction: rtl;">
-<div class=container style="text-indent: 20px"><div class=inner></div></div>
-<div class=container style="text-indent: 20px"><div class=inner style="display: inline-block;"></div></div>
-<div class=container style="text-indent: 20px"><div class=inner></div>foobar</div>
-<div class=container style="text-indent: 20px"><div class=inner style="text-indent: 20px;">f</div></div>
-<div class=container style="text-indent: 10px">foobar<div class=inner></div></div>
-<div class=container style="text-indent: -20px"><div class=inner></div></div>
-<div class=container style="text-indent: 20px"><div class=inner style="right: 40px;"></div></div>
-<div class=container style="text-indent: 20px"><div class=inner style="display: block;"></div></div>
-<div class=container style="text-indent: 20px"><div class=inner style="position: relative; display: block;"></div></div>
-<div class=container style="text-indent: 20px">foobar<br><div class=inner></div></div>
-<div class=container><div class=inner></div></div>
-</div>
-
-</body>
-</html>
\ No newline at end of file
Added: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/text-indent/anonymous-flex-item-001-expected.html (0 => 294756)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/text-indent/anonymous-flex-item-001-expected.html (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/text-indent/anonymous-flex-item-001-expected.html 2022-05-24 19:18:53 UTC (rev 294756)
@@ -0,0 +1,26 @@
+<!DOCTYPE html>
+<title>text-indent in anonymous flex and grid items</title>
+<meta name="flags" content="ahem">
+<link rel="stylesheet" type="text/css" href="" />
+<style>
+main {
+ font: 10px/1 Ahem;
+ color: orange;
+}
+</style>
+
+<p>
+Pass conditions:
+<ul>
+ <li>The top left quadrant of the black-bordered rectangle is white.
+ <li>Only the top left quadrant of the black-bordered rectangle is white.
+ <li>The rest of the black-bordered rectangle is orange.
+ <li>No orange is outside the black-bordered rectangle.
+</ul>
+</p>
+
+<main>
+<div style="text-indent: 50px; border: 3px solid black; width: 100px;">
+ ABCDE ABCDEABCDE
+</div>
+</main>
Added: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/text-indent/anonymous-flex-item-001.html (0 => 294756)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/text-indent/anonymous-flex-item-001.html (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/text-indent/anonymous-flex-item-001.html 2022-05-24 19:18:53 UTC (rev 294756)
@@ -0,0 +1,33 @@
+<!DOCTYPE html>
+<title>text-indent in anonymous flex and grid items</title>
+<link rel="author" title="David Grogan" href=""
+<link rel="match" href=""
+<link rel="help" href="" title="Anonymous flex/grid items aren't anonymous block boxes.">
+<link rel="help" href=""
+<meta name="flags" content="ahem">
+<meta name="assert" content="text-indent applies to the first line of an anonymous flex item that is not the first item in the flex/grid container.">
+<link rel="stylesheet" type="text/css" href="" />
+<style>
+main {
+ font: 10px/1 Ahem;
+ color: orange;
+}
+</style>
+
+<p>
+Pass conditions:
+<ul>
+ <li>The top left quadrant of the black-bordered rectangle is white.
+ <li>Only the top left quadrant of the black-bordered rectangle is white.
+ <li>The rest of the black-bordered rectangle is orange.
+ <li>No orange is outside the black-bordered rectangle.
+</ul>
+</p>
+
+<main>
+<div style="text-indent: 50px; border: 3px solid black; width: 100px; display: flex;">
+ <div style="width: 0px;"></div>
+ ABCDE
+ ABCDEABCDE
+</div>
+</main>
Added: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/text-indent/anonymous-grid-item-001-expected.html (0 => 294756)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/text-indent/anonymous-grid-item-001-expected.html (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/text-indent/anonymous-grid-item-001-expected.html 2022-05-24 19:18:53 UTC (rev 294756)
@@ -0,0 +1,26 @@
+<!DOCTYPE html>
+<title>text-indent in anonymous flex and grid items</title>
+<meta name="flags" content="ahem">
+<link rel="stylesheet" type="text/css" href="" />
+<style>
+main {
+ font: 10px/1 Ahem;
+ color: orange;
+}
+</style>
+
+<p>
+Pass conditions:
+<ul>
+ <li>The top left quadrant of the black-bordered rectangle is white.
+ <li>Only the top left quadrant of the black-bordered rectangle is white.
+ <li>The rest of the black-bordered rectangle is orange.
+ <li>No orange is outside the black-bordered rectangle.
+</ul>
+</p>
+
+<main>
+<div style="text-indent: 50px; border: 3px solid black; width: 100px;">
+ ABCDE ABCDEABCDE
+</div>
+</main>
Added: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/text-indent/anonymous-grid-item-001.html (0 => 294756)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/text-indent/anonymous-grid-item-001.html (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/text-indent/anonymous-grid-item-001.html 2022-05-24 19:18:53 UTC (rev 294756)
@@ -0,0 +1,33 @@
+<!DOCTYPE html>
+<title>text-indent in anonymous flex and grid items</title>
+<link rel="author" title="David Grogan" href=""
+<link rel="match" href=""
+<link rel="help" href="" title="Anonymous flex/grid items aren't anonymous block boxes.">
+<link rel="help" href=""
+<meta name="flags" content="ahem">
+<meta name="assert" content="text-indent applies to the first line of an anonymous grid item that is not the first item in the flex/grid container.">
+<link rel="stylesheet" type="text/css" href="" />
+<style>
+main {
+ font: 10px/1 Ahem;
+ color: orange;
+}
+</style>
+
+<p>
+Pass conditions:
+<ul>
+ <li>The top left quadrant of the black-bordered rectangle is white.
+ <li>Only the top left quadrant of the black-bordered rectangle is white.
+ <li>The rest of the black-bordered rectangle is orange.
+ <li>No orange is outside the black-bordered rectangle.
+</ul>
+</p>
+
+<main>
+<div style="text-indent: 50px; border: 3px solid black; width: 100px; display: grid; grid-template-columns: auto auto;">
+ <div style="width: 0px;"></div>
+ ABCDE
+ ABCDEABCDE
+</div>
+</main>
Copied: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/text-indent/text-indent-each-line-hanging-expected.html (from rev 294755, trunk/LayoutTests/fast/css3-text/css3-text-indent/text-indent-each-line-hanging-expected.html) (0 => 294756)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/text-indent/text-indent-each-line-hanging-expected.html (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/text-indent/text-indent-each-line-hanging-expected.html 2022-05-24 19:18:53 UTC (rev 294756)
@@ -0,0 +1,48 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <meta charset="utf-8">
+ <title>text-indent 'each-line' and 'hanging' modifiers</title>
+
+ <link rel="stylesheet" href="" />
+ <style>
+ div { width:80px; font: 10px Ahem; background-color:lightgray; }
+ .indent { color: blue; padding-left:4em; }
+ </style>
+</head>
+<body>
+All black boxes should be left-aligned. All blue boxes should be right-aligned.
+
+<div>
+<span class="indent">xxxx</span><br>xxxx<br>xxxx
+</div>
+<br>
+<div>
+<span class="indent">xxxx</span> xxxx xxxx
+</div>
+<br>
+<div>
+<span class="indent">xxxx</span><br><span class="indent">xxxx</span><br><span class="indent">xxxx</span>
+</div>
+<br>
+<div>
+<span class="indent">xxxx</span> xxxx<br><span class="indent">xxxx</span>
+</div>
+<br>
+<div>
+xxxx<br><span class="indent">xxxx</span><br><span class="indent">xxxx</span>
+</div>
+<br>
+<div>
+xxxx <span class="indent">xxxx</span> <span class="indent">xxxx</span>
+</div>
+<br>
+<div>
+xxxx<br>xxxx<br>xxxx
+</div>
+<br>
+<div>
+xxxx <span class="indent">xxxx</span><br>xxxx
+</div>
+</body>
+</html>
Added: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/text-indent/text-indent-each-line-hanging.html (0 => 294756)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/text-indent/text-indent-each-line-hanging.html (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/text-indent/text-indent-each-line-hanging.html 2022-05-24 19:18:53 UTC (rev 294756)
@@ -0,0 +1,64 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <meta charset="utf-8">
+ <title>text-indent 'each-line' and 'hanging' modifiers</title>
+ <link rel="author" title="Jaehun Lim" href=""
+ <link rel="help" href=""
+ <link rel="match" href=""
+ <meta name="assert" content="'each-line' and 'hanging' properly works">
+
+ <link rel="stylesheet" href="" />
+ <style>
+ div { width:80px; font: 10px Ahem; background-color:lightgray; }
+ .normal { text-indent: 4em; }
+ .eachline { text-indent: 4em each-line; }
+ .hanging { text-indent: 4em hanging; }
+ .eachlinehanging { text-indent: 4em each-line hanging; }
+ .indent { color: blue; }
+ </style>
+</head>
+<body>
+All black boxes should be left-aligned. All blue boxes should be right-aligned.
+
+<!-- normal text-indent -->
+<div class="normal">
+<span class="indent">xxxx</span> xxxx<br>xxxx
+</div>
+<br>
+<!-- each-line with a soft wrap break -->
+<div class="eachline">
+<span class="indent">xxxx</span> xxxx xxxx
+</div>
+<br>
+<!-- each-line with a forced line break -->
+<div class="eachline">
+<span class="indent">xxxx</span><br><span class="indent">xxxx</span><br><span class="indent">xxxx</span>
+</div>
+<br>
+<!-- each-line with a soft wrap break and a forced line break -->
+<div class="eachline">
+<span class="indent">xxxx</span> xxxx<br><span class="indent">xxxx</span>
+</div>
+<br>
+<!-- normal text-indent with hanging -->
+<div class="hanging">
+xxxx <span class="indent">xxxx</span><br><span class="indent">xxxx</span>
+</div>
+<br>
+<!-- each-line and hanging with a soft wrap break -->
+<div class="eachlinehanging">
+xxxx <span class="indent">xxxx</span> <span class="indent">xxxx</span>
+</div>
+<br>
+<!-- each-line and hanging with a forced line break -->
+<div class="eachlinehanging">
+xxxx<br>xxxx<br>xxxx
+</div>
+<br>
+<!-- each-line and hanging with a soft wrap break and a forced line break -->
+<div class="eachlinehanging">
+xxxx <span class="indent">xxxx</span><br>xxxx
+</div>
+</body>
+</html>
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/text-indent/text-indent-percentage-002.html (294755 => 294756)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/text-indent/text-indent-percentage-002.html 2022-05-24 19:12:38 UTC (rev 294755)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/text-indent/text-indent-percentage-002.html 2022-05-24 19:18:53 UTC (rev 294756)
@@ -4,7 +4,6 @@
<title>CSS Text Test: text-indent percentage resolution basis</title>
<link rel="author" title="Florian Rivoal" href=""
<link rel="help" href=""
-<meta name="flags" content="">
<link rel="match" href=""
<meta name="assert" content="Percentages in text-indent refer to width of the element's content box">
<style>
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/text-indent/text-indent-percentage-003.html (294755 => 294756)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/text-indent/text-indent-percentage-003.html 2022-05-24 19:12:38 UTC (rev 294755)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/text-indent/text-indent-percentage-003.html 2022-05-24 19:18:53 UTC (rev 294756)
@@ -4,7 +4,6 @@
<title>CSS Text Test: text-indent percentage resolution basis</title>
<link rel="author" title="Florian Rivoal" href=""
<link rel="help" href=""
-<meta name="flags" content="">
<link rel="match" href=""
<meta name="assert" content="Percentages in text-indent refer to width of the element's content box">
<style>
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/text-indent/text-indent-percentage-004.html (294755 => 294756)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/text-indent/text-indent-percentage-004.html 2022-05-24 19:12:38 UTC (rev 294755)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/text-indent/text-indent-percentage-004.html 2022-05-24 19:18:53 UTC (rev 294756)
@@ -4,7 +4,6 @@
<title>CSS Text Test: text-indent percentage resolution basis, in a calc expressiong</title>
<link rel="author" title="Florian Rivoal" href=""
<link rel="help" href=""
-<meta name="flags" content="">
<link rel="match" href=""
<meta name="assert" content="Percentages in text-indent refer to width of the element's content box, when used in a calc _expression_">
<style>
Copied: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/text-indent/text-indent-with-absolute-pos-child-expected.html (from rev 294755, trunk/LayoutTests/fast/css3-text/css3-text-indent/text-indent-with-absolute-pos-child-expected.html) (0 => 294756)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/text-indent/text-indent-with-absolute-pos-child-expected.html (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/text-indent/text-indent-with-absolute-pos-child-expected.html 2022-05-24 19:18:53 UTC (rev 294756)
@@ -0,0 +1,61 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>This tests that first line text-indent is applied properly when the child is a statically positioned out-of-flow renderer.</title>
+
+<link rel="stylesheet" href="" />
+<style>
+ body {
+ margin: 40px;
+ }
+
+.container {
+ display: block;
+ background-color: green;
+ width: 100px;
+ height: 20px;
+ color: green;
+ font-family: Ahem;
+ font-size: 10px;
+}
+
+.inner {
+ display: block;
+ background-color: blue;
+ width: 20px;
+ height: 20px;
+}
+</style>
+</head>
+<body>
+<div>
+<div class=container><div class=inner style="margin-left: 20px;"></div></div>
+<div class=container><div class=inner style="margin-left: 20px;"></div></div>
+<div class=container><div class=inner style="margin-left: 20px;"></div></div>
+<div class=container><div class=inner style="margin-left: 20px;"></div></div>
+<div class=container><div class=inner style="position: relative; left: 70px;"></div></div>
+<div class=container><div class=inner style="margin-left: -20px;"></div></div>
+<div class=container><div class=inner style="left: 40px;"></div></div>
+<div class=container><div class=inner></div></div>
+<div class=container><div class=inner></div></div>
+<div class=container><div class=inner style="position: relative; top: 10px"></div></div>
+<div class=container><div class=inner></div></div>
+</div>
+
+<div style="direction: rtl;">
+<div class=container><div class=inner style="margin-right: 20px;"></div></div>
+<div class=container><div class=inner style="margin-right: 20px;"></div></div>
+<div class=container><div class=inner style="margin-right: 20px;"></div></div>
+<div class=container><div class=inner style="margin-right: 20px;"></div></div>
+<div class=container><div class=inner style="position: relative; right: 70px;"></div></div>
+<div class=container><div class=inner style="margin-right: -20px;"></div></div>
+<div class=container><div class=inner style="right: 40px;"></div></div>
+<div class=container><div class=inner></div></div>
+<div class=container><div class=inner></div></div>
+<div class=container><div class=inner style="position: relative; top: 10px"></div></div>
+<div class=container><div class=inner></div></div>
+</div>
+
+</body>
+</html>
Copied: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/text-indent/text-indent-with-absolute-pos-child.html (from rev 294755, trunk/LayoutTests/fast/css3-text/css3-text-indent/text-indent-with-absolute-pos-child.html) (0 => 294756)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/text-indent/text-indent-with-absolute-pos-child.html (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/text-indent/text-indent-with-absolute-pos-child.html 2022-05-24 19:18:53 UTC (rev 294756)
@@ -0,0 +1,65 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>This tests that first line text-indent is applied properly when the child is a statically positioned out-of-flow renderer.</title>
+<link rel="help" href=""
+<link rel="match" href=""
+<meta name="assert" content="First line text-indent is applied properly when the child is a statically positioned out-of-flow renderer.">
+
+<link rel="stylesheet" href="" />
+<style>
+ body {
+ margin: 40px;
+ }
+
+ .container {
+ display: block;
+ background-color: green;
+ width: 100px;
+ height: 20px;
+ color: green;
+ font-family: Ahem;
+ font-size: 10px;
+ }
+
+ .inner {
+ display: inline;
+ position: absolute;
+ background-color: blue;
+ width: 20px;
+ height: 20px;
+ }
+</style>
+</head>
+<body>
+<div>
+<div class=container style="text-indent: 20px"><div class=inner></div></div>
+<div class=container style="text-indent: 20px"><div class=inner style="display: inline-block;"></div></div>
+<div class=container style="text-indent: 20px"><div class=inner></div>foobar</div>
+<div class=container style="text-indent: 20px"><div class=inner style="text-indent: 20px;">f</div></div>
+<div class=container style="text-indent: 10px">foobar<div class=inner></div></div>
+<div class=container style="text-indent: -20px"><div class=inner></div></div>
+<div class=container style="text-indent: 20px"><div class=inner style="left: 40px;"></div></div>
+<div class=container style="text-indent: 20px"><div class=inner style="display: block;"></div></div>
+<div class=container style="text-indent: 20px"><div class=inner style="position: relative; display: block;"></div></div>
+<div class=container style="text-indent: 20px">foobar<br><div class=inner></div></div>
+<div class=container><div class=inner></div></div>
+</div>
+
+<div style="direction: rtl;">
+<div class=container style="text-indent: 20px"><div class=inner></div></div>
+<div class=container style="text-indent: 20px"><div class=inner style="display: inline-block;"></div></div>
+<div class=container style="text-indent: 20px"><div class=inner></div>foobar</div>
+<div class=container style="text-indent: 20px"><div class=inner style="text-indent: 20px;">f</div></div>
+<div class=container style="text-indent: 10px">foobar<div class=inner></div></div>
+<div class=container style="text-indent: -20px"><div class=inner></div></div>
+<div class=container style="text-indent: 20px"><div class=inner style="right: 40px;"></div></div>
+<div class=container style="text-indent: 20px"><div class=inner style="display: block;"></div></div>
+<div class=container style="text-indent: 20px"><div class=inner style="position: relative; display: block;"></div></div>
+<div class=container style="text-indent: 20px">foobar<br><div class=inner></div></div>
+<div class=container><div class=inner></div></div>
+</div>
+
+</body>
+</html>
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/text-indent/w3c-import.log (294755 => 294756)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/text-indent/w3c-import.log 2022-05-24 19:12:38 UTC (rev 294755)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/text-indent/w3c-import.log 2022-05-24 19:18:53 UTC (rev 294756)
@@ -14,7 +14,13 @@
None
------------------------------------------------------------------------
List of files:
+/LayoutTests/imported/w3c/web-platform-tests/css/css-text/text-indent/anonymous-flex-item-001-expected.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-text/text-indent/anonymous-flex-item-001.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-text/text-indent/anonymous-grid-item-001-expected.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-text/text-indent/anonymous-grid-item-001.html
/LayoutTests/imported/w3c/web-platform-tests/css/css-text/text-indent/percentage-value-intrinsic-size.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-text/text-indent/text-indent-each-line-hanging-expected.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-text/text-indent/text-indent-each-line-hanging.html
/LayoutTests/imported/w3c/web-platform-tests/css/css-text/text-indent/text-indent-long-line-crash.html
/LayoutTests/imported/w3c/web-platform-tests/css/css-text/text-indent/text-indent-percentage-001-expected.xht
/LayoutTests/imported/w3c/web-platform-tests/css/css-text/text-indent/text-indent-percentage-001.xht
@@ -26,3 +32,5 @@
/LayoutTests/imported/w3c/web-platform-tests/css/css-text/text-indent/text-indent-percentage-004.html
/LayoutTests/imported/w3c/web-platform-tests/css/css-text/text-indent/text-indent-tab-positions-001-expected.html
/LayoutTests/imported/w3c/web-platform-tests/css/css-text/text-indent/text-indent-tab-positions-001.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-text/text-indent/text-indent-with-absolute-pos-child-expected.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-text/text-indent/text-indent-with-absolute-pos-child.html