⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 294756 in webkit


Ignore:
Timestamp:
May 24, 2022, 12:18:53 PM (4 years ago)
Author:
commit-queue@webkit.org
Message:

Import text-indent tests from WPT
https://bugs.webkit.org/show_bug.cgi?id=240835

Patch by Kiet Ho <Kiet Ho> on 2022-05-24
Reviewed by Tim Nguyen.

Imported directory css/css-text/text-indent from WPT commit
2afc2f61703755c91daaf1a7ddf9ddf868c76699. This includes tests migrated from WebKit
to WPT in PR https://github.com/web-platform-tests/wpt/pull/34153.

  • LayoutTests/TestExpectations:
  • LayoutTests/fast/css3-text/css3-text-indent/text-indent-each-line-hanging.html: Removed.
  • LayoutTests/imported/w3c/web-platform-tests/css/css-text/text-indent/anonymous-flex-item-001-expected.html: Added.
  • LayoutTests/imported/w3c/web-platform-tests/css/css-text/text-indent/anonymous-flex-item-001.html: Added.
  • LayoutTests/imported/w3c/web-platform-tests/css/css-text/text-indent/anonymous-grid-item-001-expected.html: Added.
  • LayoutTests/imported/w3c/web-platform-tests/css/css-text/text-indent/anonymous-grid-item-001.html: Added.
  • LayoutTests/imported/w3c/web-platform-tests/css/css-text/text-indent/text-indent-each-line-hanging-expected.html: Renamed from LayoutTests/fast/css3-text/css3-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: Added.
  • LayoutTests/imported/w3c/web-platform-tests/css/css-text/text-indent/text-indent-percentage-002.html:
  • LayoutTests/imported/w3c/web-platform-tests/css/css-text/text-indent/text-indent-percentage-003.html:
  • 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-with-absolute-pos-child-expected.html: Renamed from LayoutTests/fast/css3-text/css3-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: Renamed from LayoutTests/fast/css3-text/css3-text-indent/text-indent-with-absolute-pos-child.html.
  • LayoutTests/imported/w3c/web-platform-tests/css/css-text/text-indent/w3c-import.log:

Canonical link: https://commits.webkit.org/250924@main

Location:
trunk/LayoutTests
Files:
5 added
1 deleted
5 edited
3 moved

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/TestExpectations

    r294754 r294756  
    26492649webkit.org/b/214290 imported/w3c/web-platform-tests/css/css-text/text-encoding/shaping-tatweel-003.html [ ImageOnlyFailure ]
    26502650webkit.org/b/214290 imported/w3c/web-platform-tests/css/css-text/text-indent/text-indent-tab-positions-001.html [ ImageOnlyFailure ]
     2651webkit.org/b/240837 imported/w3c/web-platform-tests/css/css-text/text-indent/anonymous-flex-item-001.html [ ImageOnlyFailure ]
     2652webkit.org/b/240837 imported/w3c/web-platform-tests/css/css-text/text-indent/anonymous-grid-item-001.html [ ImageOnlyFailure ]
     2653webkit.org/b/240731 imported/w3c/web-platform-tests/css/css-text/text-indent/text-indent-each-line-hanging.html [ ImageOnlyFailure ]
    26512654webkit.org/b/183258 imported/w3c/web-platform-tests/css/css-text/text-justify/text-justify-001.html [ ImageOnlyFailure ]
    26522655webkit.org/b/214290 imported/w3c/web-platform-tests/css/css-text/text-justify/text-justify-006.html [ ImageOnlyFailure ]
     
    29122915webkit.org/b/76173 fast/css3-text/css3-text-align-last [ Skip ]
    29132916webkit.org/b/99945 fast/css3-text/css3-text-justify [ Skip ]
    2914 webkit.org/b/112755 fast/css3-text/css3-text-indent/text-indent-each-line-hanging.html [ Skip ]
    29152917
    29162918# Link prefetch is disabled by default (needs ENABLE_LINK_PREFETCH)
  • trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/text-indent/text-indent-each-line-hanging-expected.html

    r294755 r294756  
     1<!DOCTYPE html>
    12<html>
    23<head>
    3     <title>[css3-text] text-indent</title>
     4    <meta charset="utf-8">
     5    <title>text-indent 'each-line' and 'hanging' modifiers</title>
     6
     7    <link rel="stylesheet" href="/fonts/ahem.css" />
    48    <style>
    59    div { width:80px; font: 10px Ahem; background-color:lightgray; }
     
    812</head>
    913<body>
     14All black boxes should be left-aligned. All blue boxes should be right-aligned.
     15
    1016<div>
    1117<span class="indent">xxxx</span><br>xxxx<br>xxxx
  • trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/text-indent/text-indent-percentage-002.html

    r242550 r294756  
    55<link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/">
    66<link rel="help" href="https://drafts.csswg.org/css-text-3/#text-indent-property">
    7 <meta name="flags" content="">
    87<link rel="match" href="reference/text-indent-percentage-002-ref.html">
    98<meta name="assert" content="Percentages in text-indent refer to width of the element's content box">
  • trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/text-indent/text-indent-percentage-003.html

    r242550 r294756  
    55<link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/">
    66<link rel="help" href="https://drafts.csswg.org/css-text-3/#text-indent-property">
    7 <meta name="flags" content="">
    87<link rel="match" href="reference/text-indent-percentage-002-ref.html">
    98<meta name="assert" content="Percentages in text-indent refer to width of the element's content box">
  • trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/text-indent/text-indent-percentage-004.html

    r264338 r294756  
    55<link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/">
    66<link rel="help" href="https://drafts.csswg.org/css-text-3/#text-indent-property">
    7 <meta name="flags" content="">
    87<link rel="match" href="reference/text-indent-percentage-002-ref.html">
    98<meta name="assert" content="Percentages in text-indent refer to width of the element's content box, when used in a calc expression">
  • trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/text-indent/text-indent-with-absolute-pos-child-expected.html

    r294755 r294756  
    1 <!DOCTYPE HTML>
     1<!DOCTYPE html>
    22<html>
    33<head>
     4<meta charset="utf-8">
    45<title>This tests that first line text-indent is applied properly when the child is a statically positioned out-of-flow renderer.</title>
     6
     7<link rel="stylesheet" href="/fonts/ahem.css" />
    58<style>
    69 body {
    7         margin: 40px;
     10  margin: 40px;
    811 }
    9  
     12
    1013.container {
    1114  display: block;
  • trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/text-indent/text-indent-with-absolute-pos-child.html

    r294755 r294756  
    1 <!DOCTYPE HTML>
     1<!DOCTYPE html>
    22<html>
    33<head>
     4<meta charset="utf-8">
    45<title>This tests that first line text-indent is applied properly when the child is a statically positioned out-of-flow renderer.</title>
     6<link rel="help" href="https://drafts.csswg.org/css-text-3/#text-indent-property">
     7<link rel="match" href="reference/text-indent-with-absolute-pos-child-ref.html">
     8<meta name="assert" content="First line text-indent is applied properly when the child is a statically positioned out-of-flow renderer.">
     9
     10<link rel="stylesheet" href="/fonts/ahem.css" />
    511<style>
    6  body {
    7         margin: 40px;
    8  }
    9  
    10 .container {
    11   display: block;
    12   background-color: green;
    13   width: 100px;
    14   height: 20px;
    15   color: green;
    16   font-family: Ahem;
    17   font-size: 10px;
    18 }
     12  body {
     13    margin: 40px;
     14  }
    1915
    20 .inner {
    21   display: inline;
    22   position: absolute;
    23   background-color: blue;
    24   width: 20px;
    25   height: 20px;
    26 }
     16  .container {
     17    display: block;
     18    background-color: green;
     19    width: 100px;
     20    height: 20px;
     21    color: green;
     22    font-family: Ahem;
     23    font-size: 10px;
     24  }
     25
     26  .inner {
     27    display: inline;
     28    position: absolute;
     29    background-color: blue;
     30    width: 20px;
     31    height: 20px;
     32  }
    2733</style>
    2834</head>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-text/text-indent/w3c-import.log

    r264338 r294756  
    1515------------------------------------------------------------------------
    1616List of files:
     17/LayoutTests/imported/w3c/web-platform-tests/css/css-text/text-indent/anonymous-flex-item-001-expected.html
     18/LayoutTests/imported/w3c/web-platform-tests/css/css-text/text-indent/anonymous-flex-item-001.html
     19/LayoutTests/imported/w3c/web-platform-tests/css/css-text/text-indent/anonymous-grid-item-001-expected.html
     20/LayoutTests/imported/w3c/web-platform-tests/css/css-text/text-indent/anonymous-grid-item-001.html
    1721/LayoutTests/imported/w3c/web-platform-tests/css/css-text/text-indent/percentage-value-intrinsic-size.html
     22/LayoutTests/imported/w3c/web-platform-tests/css/css-text/text-indent/text-indent-each-line-hanging-expected.html
     23/LayoutTests/imported/w3c/web-platform-tests/css/css-text/text-indent/text-indent-each-line-hanging.html
    1824/LayoutTests/imported/w3c/web-platform-tests/css/css-text/text-indent/text-indent-long-line-crash.html
    1925/LayoutTests/imported/w3c/web-platform-tests/css/css-text/text-indent/text-indent-percentage-001-expected.xht
     
    2733/LayoutTests/imported/w3c/web-platform-tests/css/css-text/text-indent/text-indent-tab-positions-001-expected.html
    2834/LayoutTests/imported/w3c/web-platform-tests/css/css-text/text-indent/text-indent-tab-positions-001.html
     35/LayoutTests/imported/w3c/web-platform-tests/css/css-text/text-indent/text-indent-with-absolute-pos-child-expected.html
     36/LayoutTests/imported/w3c/web-platform-tests/css/css-text/text-indent/text-indent-with-absolute-pos-child.html
Note: See TracChangeset for help on using the changeset viewer.