Bug 283738
| Summary: | Make list-style-position quirk only available in quirks mode | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Tim Nguyen (:ntim) <ntim> |
| Component: | Layout and Rendering | Assignee: | Tim Nguyen (:ntim) <ntim> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | bfulgham, karlcow, simon.fraser, venkateshbabu95, webkit-bug-importer, zalan |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Tim Nguyen (:ntim)
Firefox implements it this way:
```
/* force inside position for orphaned lis */
li {
list-style-position: inside;
}
/* restore outside position for lists inside LIs */
li :is(ul, ol, dir, menu) {
list-style-position: outside;
}
/* undo previous two rules for properly nested lists */
:is(ul, ol, dir, menu) :is(ul, ol, dir, menu, li) {
list-style-position: unset;
}
```
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/140602985>
Tim Nguyen (:ntim)
Pull request: https://github.com/WebKit/WebKit/pull/37176
Tim Nguyen (:ntim)
*** Bug 283742 has been marked as a duplicate of this bug. ***
EWS
Committed 287114@main (3be0078f2601): <https://commits.webkit.org/287114@main>
Reviewed commits have been landed. Closing PR #37176 and removing active labels.
Tim Nguyen (:ntim)
*** Bug 164222 has been marked as a duplicate of this bug. ***