Bug 152683
| Summary: | tab-size as length (as per spec) does not work | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | yisibl <50167214> |
| Component: | CSS | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | Normal | CC: | 50167214, browserbugs2, morrita, simon.fraser |
| Priority: | P2 | Keywords: | W3CTest, WebExposed |
| Version: | WebKit Nightly Build | ||
| Hardware: | All | ||
| OS: | All | ||
yisibl
As per the CSS Text Module Level 3 specification, one should be able to specify a tab-size property as either an integer (number of white spaces), or as "length". See http://www.w3.org/TR/css-text-3/#tab-size
However, chrome only appears to support the integer case, not the length case:
See http://jsbin.com/qocetori/1/
Blink fixed it in: https://code.google.com/p/chromium/issues/detail?id=386437
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
yisibl
I think WebKit should take some time to synchronize the CSS features of Blink repair.
Gérard Talbot (no longer involved)
I believe bug 179022 and this bug report are the same. If this is correct, then one of the 2 should be resolved as DUPLICATE.
- - - -
The spec on tab-size now accepts real number, not just integer:
Value: <number> | <length>
https://www.w3.org/TR/css-text-3/#tab-size-property
testing tab-size: calc(10px)
http://w3c-test.org/css/css-values/calc-numbers.html
https://wpt.fyi/results/css/css-values/calc-numbers.html?label=master
Simon Fraser (smfr)
Yes, thank you.
*** This bug has been marked as a duplicate of bug 179022 ***