Skip to content

Commit

Permalink
Align "UA" stylesheet for "fieldset" with HTML Spec
Browse files Browse the repository at this point in the history
Align "UA" stylesheet for "fieldset" with HTML Spec

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

Reviewed by Tim Nguyen.

Align "UA" stylesheet with latest HTML Specifications:

- fieldset element need change from min-width: min-content; to min-inline-size: min-content;

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

* Source/WebCore/css/html.css - Update "UA" stylesheet with HTML Specifications
* LayoutTests/imported/w3c/web-platform-tests/html/rendering/non-replaced-elements/the-fieldset-and-legend-elements/min-inline-size-expected.txt - Updated Test Expectations

Canonical link: https://commits.webkit.org/254485@main
  • Loading branch information
Ahmad Saleem authored and nt1m committed Sep 14, 2022
1 parent c4c9eb9 commit 3e77428
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Expand Up @@ -3,8 +3,8 @@


PASS horizontal-tb
FAIL vertical-lr assert_equals: height expected "100px" but got "0px"
FAIL vertical-rl assert_equals: height expected "100px" but got "0px"
PASS vertical-lr
PASS vertical-rl
PASS horizontal-tb override
PASS vertical-lr override
PASS vertical-rl override
Expand Down
2 changes: 1 addition & 1 deletion Source/WebCore/css/html.css
Expand Up @@ -373,7 +373,7 @@ fieldset {
padding-inline-end: 0.75em;
padding-block-end: 0.625em;
border: 2px groove ThreeDFace;
min-width: min-content;
min-inline-size: min-content;
}

button {
Expand Down

0 comments on commit 3e77428

Please sign in to comment.