Changeset 293322 in webkit


Ignore:
Timestamp:
Apr 25, 2022 6:06:15 AM (3 months ago)
Author:
Ziran Sun
Message:

UA stylesheet should include table { text-indent: initial } to conform with HTML standard
https://bugs.webkit.org/show_bug.cgi?id=201297

Reviewed by Tim Nguyen.

LayoutTests/imported/w3c:

  • web-platform-tests/html/rendering/non-replaced-elements/form-controls/resets-expected.txt:
  • web-platform-tests/html/rendering/non-replaced-elements/tables/table-ua-stylesheet-expected.txt:

Source/WebCore:

As per [1], text-indent for table should be initial.
[1] https://html.spec.whatwg.org/multipage/rendering.html#tables-2

  • css/html.css:

(table):

LayoutTests:

  • platform/glib/imported/w3c/web-platform-tests/html/rendering/non-replaced-elements/form-controls/resets-expected.txt:
Location:
trunk
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r293320 r293322  
     12022-04-25  Ziran Sun  <zsun@igalia.com>
     2
     3        UA stylesheet should include table { text-indent: initial } to conform with HTML standard
     4        https://bugs.webkit.org/show_bug.cgi?id=201297
     5
     6        Reviewed by Tim Nguyen.
     7
     8        * platform/glib/imported/w3c/web-platform-tests/html/rendering/non-replaced-elements/form-controls/resets-expected.txt:
     9
    1102022-04-25  Kimmo Kinnunen  <kkinnunen@apple.com>
    211
  • trunk/LayoutTests/imported/w3c/ChangeLog

    r293311 r293322  
     12022-04-25  Ziran Sun  <zsun@igalia.com>
     2
     3        UA stylesheet should include table { text-indent: initial } to conform with HTML standard
     4        https://bugs.webkit.org/show_bug.cgi?id=201297
     5
     6        Reviewed by Tim Nguyen.
     7
     8        * web-platform-tests/html/rendering/non-replaced-elements/form-controls/resets-expected.txt:
     9        * web-platform-tests/html/rendering/non-replaced-elements/tables/table-ua-stylesheet-expected.txt:
     10
    1112022-04-24  Youenn Fablet  <youenn@apple.com>
    212
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/rendering/non-replaced-elements/form-controls/resets-expected.txt

    r285346 r293322  
    271271PASS <table><tbody><tr><td> - line-height
    272272PASS <table><tbody><tr><td> - text-transform
    273 FAIL <table><tbody><tr><td> - text-indent assert_equals: expected "0px" but got "5px"
     273PASS <table><tbody><tr><td> - text-indent
    274274PASS <table><tbody><tr><td> - text-shadow
    275275PASS <table><tbody><tr><td> - text-align
     
    280280PASS <tbody><tr><td> (in <table>) - line-height
    281281PASS <tbody><tr><td> (in <table>) - text-transform
    282 FAIL <tbody><tr><td> (in <table>) - text-indent assert_equals: expected "0px" but got "5px"
     282PASS <tbody><tr><td> (in <table>) - text-indent
    283283PASS <tbody><tr><td> (in <table>) - text-shadow
    284284PASS <tbody><tr><td> (in <table>) - text-align
     
    289289PASS <tr><td> (in <table><tbody>) - line-height
    290290PASS <tr><td> (in <table><tbody>) - text-transform
    291 FAIL <tr><td> (in <table><tbody>) - text-indent assert_equals: expected "0px" but got "5px"
     291PASS <tr><td> (in <table><tbody>) - text-indent
    292292PASS <tr><td> (in <table><tbody>) - text-shadow
    293293PASS <tr><td> (in <table><tbody>) - text-align
     
    298298PASS <td> (in <table><tbody><tr>) - line-height
    299299PASS <td> (in <table><tbody><tr>) - text-transform
    300 FAIL <td> (in <table><tbody><tr>) - text-indent assert_equals: expected "0px" but got "5px"
     300PASS <td> (in <table><tbody><tr>) - text-indent
    301301PASS <td> (in <table><tbody><tr>) - text-shadow
    302302PASS <td> (in <table><tbody><tr>) - text-align
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/rendering/non-replaced-elements/tables/table-ua-stylesheet-expected.txt

    r267646 r293322  
    44PASS Computed 'border-spacing' on table should match html spec
    55PASS Computed 'border-collapse' on table should match html spec
    6 FAIL Computed 'text-indent' on table should match html spec assert_equals: expected "0px" but got "100px"
     6PASS Computed 'text-indent' on table should match html spec
    77
  • trunk/LayoutTests/platform/glib/imported/w3c/web-platform-tests/html/rendering/non-replaced-elements/form-controls/resets-expected.txt

    r285708 r293322  
    271271PASS <table><tbody><tr><td> - line-height
    272272PASS <table><tbody><tr><td> - text-transform
    273 FAIL <table><tbody><tr><td> - text-indent assert_equals: expected "0px" but got "5px"
     273PASS <table><tbody><tr><td> - text-indent
    274274PASS <table><tbody><tr><td> - text-shadow
    275275PASS <table><tbody><tr><td> - text-align
     
    280280PASS <tbody><tr><td> (in <table>) - line-height
    281281PASS <tbody><tr><td> (in <table>) - text-transform
    282 FAIL <tbody><tr><td> (in <table>) - text-indent assert_equals: expected "0px" but got "5px"
     282PASS <tbody><tr><td> (in <table>) - text-indent
    283283PASS <tbody><tr><td> (in <table>) - text-shadow
    284284PASS <tbody><tr><td> (in <table>) - text-align
     
    289289PASS <tr><td> (in <table><tbody>) - line-height
    290290PASS <tr><td> (in <table><tbody>) - text-transform
    291 FAIL <tr><td> (in <table><tbody>) - text-indent assert_equals: expected "0px" but got "5px"
     291PASS <tr><td> (in <table><tbody>) - text-indent
    292292PASS <tr><td> (in <table><tbody>) - text-shadow
    293293PASS <tr><td> (in <table><tbody>) - text-align
     
    298298PASS <td> (in <table><tbody><tr>) - line-height
    299299PASS <td> (in <table><tbody><tr>) - text-transform
    300 FAIL <td> (in <table><tbody><tr>) - text-indent assert_equals: expected "0px" but got "5px"
     300PASS <td> (in <table><tbody><tr>) - text-indent
    301301PASS <td> (in <table><tbody><tr>) - text-shadow
    302302PASS <td> (in <table><tbody><tr>) - text-align
  • trunk/Source/WebCore/ChangeLog

    r293319 r293322  
     12022-04-25  Ziran Sun  <zsun@igalia.com>
     2
     3        UA stylesheet should include table { text-indent: initial } to conform with HTML standard
     4        https://bugs.webkit.org/show_bug.cgi?id=201297
     5
     6        Reviewed by Tim Nguyen.
     7
     8        As per [1], text-indent for table should be initial.
     9        [1] https://html.spec.whatwg.org/multipage/rendering.html#tables-2
     10
     11        * css/html.css:
     12        (table):
     13
    1142022-04-24  Philippe Normand  <philn@igalia.com>
    215
  • trunk/Source/WebCore/css/html.css

    r293089 r293322  
    223223    border-spacing: 2px;
    224224    border-color: gray;
     225    text-indent: initial;
    225226}
    226227
Note: See TracChangeset for help on using the changeset viewer.