Bug 116031
| Summary: | Legend tags are not accepting the full range of display styling possibilities | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | beat.richartz |
| Component: | CSS | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | ahmad.saleem792, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | 528+ (Nightly build) | ||
| Hardware: | All | ||
| OS: | Unspecified | ||
| See Also: | https://bugs.webkit.org/show_bug.cgi?id=245516 | ||
beat.richartz
Legend tags are not accepting the full range of display styling possibilities, such as «inline» or «inline-block». Possible styles are «none» or «block». If a legend is styled via CSS in any other way, the computed style will always be «block».
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
beat.richartz
float: left makes the engine accept the property.
beat.richartz
(In reply to comment #1)
> float: left makes the engine accept the property.
Or at least Computed Styles show the right display styling then.
Ahmad Saleem
Updating:
https://github.com/WebKit/WebKit/blob/ce051f767fb9df5e38db1141446915a2b60cdaf3/Source/WebCore/style/StyleAdjuster.cpp#L304
to:
style.setEffectiveDisplay(equivalentBlockDisplay(style));
Would fix some WPT test cases as well.
EWS
Committed 256841@main (3ae9f4142aed): <https://commits.webkit.org/256841@main>
Reviewed commits have been landed. Closing PR #6516 and removing active labels.
Radar WebKit Bug Importer
<rdar://problem/102521516>