W3C

Edit comment LC-1586 for Mobile Web Best Practices Working Group

Quick access to

Previous: LC-1640 Next: LC-1619

Comment LC-1586
:
Commenter: Jo Rabin <>

or
Resolution status:

Current Text:

3.11 MEASURES

For each property in the CSS Style (2.3.4 CSS Style) whose value is a
numeric measure of length:

If the value is non-zero and the unit is not "em", "ex" or "%", and
the property is not a margin, border or padding box property (see also 3.20
SCROLLING (partial)), FAIL

PASS

Proposed Text:

3.11 MEASURES

For each property in the CSS Style (2.3.4 CSS Style) whose value is a
numeric measure of length stated together with a unit:

If the value is non-zero and the unit is not "em" or "ex", and the
property is not a margin, border or padding box property (see also 3.20
SCROLLING (partial)), FAIL

[The point being that % is not in fact a unit and the case of line height
which can be a multiplier and % are ruled out by looking only at those
numeric units of measure that are stated together with a unit.

The case of a bald number (no unit) being used incorrectly will be picked up
by the CSS validity check]
ACTION-415 ACTION-428
(space separated ids)
(Please make sure the resolution is adapted for public consumption)


Developed and maintained by Dominique Hazaël-Massieux (dom@w3.org).
$Id: 1586.html,v 1.1 2017/08/11 06:43:28 dom Exp $
Please send bug reports and request for enhancements to w3t-sys.org