[Webkit-unassigned] [Bug 19828] Computed style for margin right is incorrect.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Mar 2 15:42:23 PST 2009


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


Humberto.Madeira at trapezegroup.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |Humberto.Madeira at trapezegrou
                   |                            |p.com




------- Comment #6 from Humberto.Madeira at trapezegroup.com  2009-03-02 15:42 PDT -------
I believe this bug was rejected because the specification is being misread. 

The specification speaks of "computed values" and "used values" as being
distinct from each other. 

e.g. in section 10.3
 "(The value used for layout is sometimes referred to as the used value.) In
principle, the values used are the same as the computed values, with 'auto'
replaced by some suitable value, and percentages calculated based on the
containing block, but there are exceptions."

With respect to the constraints, they refer to the "used values" and not the
computed values.

e.g. in section 10.3.3 
"The following constraints must hold among the used values of the other
properties:

'margin-left' + 'border-left-width' + 'padding-left' + 'width' +
'padding-right' + 'border-right-width' + 'margin-right' + scrollbar width (if
any) = width of containing block"

So according to the specification, the computed values are under no constraints
of any sort other than the usual CSS precedence rules.  It is the "used
values", which are used for layout purposes, that are constrained.

I believe, after a closer look at the specification, that this bug is actually
valid.


-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list