Closed Bug 93865 Opened 23 years ago Closed 18 years ago

vertical-align cannot inherit percentages

Categories

(Core :: CSS Parsing and Computation, defect, P4)

defect

Tracking

()

RESOLVED FIXED
Future

People

(Reporter: fantasai.bugs, Assigned: dbaron)

References

(Depends on 1 open bug)

Details

(Keywords: css2, testcase)

Attachments

(1 file)

Overview:

	Explicit inheritance of percentage values for 'vertical-align' does not
	work, although explit inheritance of pixel values does.

Steps to Reproduce:

	Open up testcase in Mozilla

Actual Results:

	Inner <span> in second test remains at the baseline.

Expected Results;

	Both tests should render identically.

Tested on Mozilla nightly build (id: 2001080203) on Windows 2000

Additional Comments:

	Bug 91054 might cause incorrect rendering of the testcase after a fix.
Attached file testcase (deleted) —
Keywords: css2, testcase
Marking dependencies on related bugs, just for the record.
Status: NEW → ASSIGNED
Depends on: 91054, 97726
Priority: -- → P3
Target Milestone: --- → mozilla1.0
Does the spec say percentages should inherit as percentages? Shouldn't they
inherit as the device-native length (pixels)? Inheritance works on computed
values, not specified values.
Yes, the spec says it should inherit the computed value. 
My point is that percentages are not inheriting _at all_.
Keywords: mozilla1.0
Moving to mozilla1.1. Engineers are overloaded!
Target Milestone: mozilla1.0 → mozilla1.1
Bulk moving from Moz1.1 to future-P1. I will pull from this list when scheduling
work post Mozilla1.0.
Priority: P3 → P1
Target Milestone: mozilla1.1 → Future
Keywords: css2css1
Whiteboard: [CSS1-5.4.4]
Keywords: css1css2
Whiteboard: [CSS1-5.4.4]
cc'ing myself
Priority: P1 → P4
Assigning pierre's remaining Style System-related bugs to myself.
Assignee: pierre → dbaron
Status: ASSIGNED → NEW
Mostly fixed by bug 205790, but I'm not sure if we're inheriting them correctly.
 fantasai also points out that the spec may not make sense...
Could you expand on that? I can't add vague statements to the issues-cr list. :-)
"Should the computed value for percentage values of 'vertical-align' be the
percentage or the absolute length to which it computes?"
Status: NEW → ASSIGNED
Marking fixed. Probably was fixed during the computed value rehaul awhile back.
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Would you mind spinning off inheriting percentages correctly into its own bug before marking this as fixed?
bug 380439 filed.
Depends on: 205790, 380439
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: