Closed Bug 390427 Opened 17 years ago Closed 16 years ago

display:-moz-inline-stack prevents use of text-align:center

Categories

(Firefox :: General, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: mats_a, Unassigned)

Details

User-Agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.8.1.4) Gecko/20061023 SUSE/2.0.0.4-1.1 Firefox/2.0.0.4 Build Identifier: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.8.1.4) Gecko/20061023 SUSE/2.0.0.4-1.1 Firefox/2.0.0.4 (-moz-inline-stack is a Firefox extension which closely replicates the CSS 2.1 property inline-block, which broke in a previous version of Firefox) Bug: Using -moz-inline-stack prevents the same element from using text-align. See "Steps to Reproduce" for a short test case. Reproducible: Always Steps to Reproduce: <HTML> <HEAD> <STYLE> .x {display:inline-block; width:100; text-align:center; border:1px solid red;} </STYLE> </HEAD> <BODY> <DIV class=x>a</DIV> <DIV class=x>b</DIV> <DIV class=x>c</DIV> <BR> <BR>Expected: You should see above three 100px-wide rectangles with letters aligned on their centers. </BODY> </HTML> Actual Results: The letters a, b, and c are left-aligned inside the 100-pixel-wide rectangles. Expected Results: The letters a, b, and c should instead be center-aligned inside the 100-pixel-wide rectangles.
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.6) Gecko/20070725 Firefox/2.0.0.6 I do see them centered.
This bug WFM. I will assume this issue has been resolved by this point. Resolving WFM.
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.