[Webkit-unassigned] [Bug 189304] <legend align> should not map to text-align

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jan 13 04:20:07 PST 2023


https://bugs.webkit.org/show_bug.cgi?id=189304

--- Comment #2 from Ahmad Saleem <ahmad.saleem792 at gmail.com> ---
(In reply to Ahmad Saleem from comment #1)
> Safari Technology Preview 154 is still failing:
> 
> Live Test Link -
> http://wpt.live/html/rendering/non-replaced-elements/the-fieldset-and-legend-
> elements/legend-align-text-align.html
> 
> Live Test Link -
> http://wpt.live/html/rendering/non-replaced-elements/the-fieldset-and-legend-
> elements/legend-align.html
> 
> ______
> 
> https://wpt.fyi/results/html/rendering/non-replaced-elements/the-fieldset-
> and-legend-
> elements?label=master&label=experimental&aligned&view=subtest&q=legend-align.
> html
> 
> https://wpt.fyi/results/html/rendering/non-replaced-elements/the-fieldset-
> and-legend-
> elements?label=master&label=experimental&aligned&view=subtest&q=legend-align-
> text-align

Does by adding these UA Stylesheet rules, which we are missing, will fix these:

https://html.spec.whatwg.org/multipage/rendering.html#the-fieldset-and-legend-elements

```

legend[align=left i] {
  justify-self: left;
}

legend[align=center i] {
  justify-self: center;
}

legend[align=right i] {
  justify-self: right;
}

```

https://github.com/WebKit/WebKit/blob/main/Source/WebCore/css/html.css#L380

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230113/2b15e1be/attachment-0001.htm>


More information about the webkit-unassigned mailing list