Closed Bug 387077 Opened 17 years ago Closed 17 years ago

Rename some class names of the new Location bar

Categories

(Firefox :: Address Bar, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
Firefox 3 alpha7

People

(Reporter: dao, Assigned: dao)

References

Details

Attachments

(1 file, 1 obsolete file)

Attached patch patch (obsolete) (deleted) — Splinter Review
The current class names (textbox-presentation-*) are neither very clear nor generic enough, given that the formatted URL stuff could become a separate binding for use outside of a textbox. I'd like to address this before others start adopting their themes.

The patch also fixes a bug in the stylesheets (.textbox-presentation-slash doesn't exist anymore).
Attachment #271183 - Flags: review?(gavin.sharp)
(In reply to comment #0)
> The patch also fixes a bug in the stylesheets (.textbox-presentation-slash
> doesn't exist anymore).

Btw, this fix is needed to make hideProtocols work properly.
Comment on attachment 271183 [details] [diff] [review]
patch

>Index: browser/themes/qinstripe/browser/browser.css

>+#urlbar[chromedir="rtl"][protocolhidden="true"] .formatted-url-prePath > .formatted-url-subdomain ,
>+#urlbar[chromedir="ltr"][protocolhidden="true"] .formatted-url-prePath > .formatted-url-port 

Shouldn't these both be "rtl"?

This also made me realize that we don't support RTL in pinstripe, so we should probably file a bug on removing the rtl rules you added there. Or you can do it here if you want.
Attachment #271183 - Flags: review?(gavin.sharp) → review+
(In reply to comment #2)
> (From update of attachment 271183 [details] [diff] [review])
> >Index: browser/themes/qinstripe/browser/browser.css
> 
> >+#urlbar[chromedir="rtl"][protocolhidden="true"] .formatted-url-prePath > .formatted-url-subdomain ,
> >+#urlbar[chromedir="ltr"][protocolhidden="true"] .formatted-url-prePath > .formatted-url-port 
> 
> Shouldn't these both be "rtl"?

Nope, subdomain needs text-align:right for ltr / left for rtl, port needs text-align:left for ltr / right for rtl.

> This also made me realize that we don't support RTL in pinstripe, so we should
> probably file a bug on removing the rtl rules you added there. Or you can do it
> here if you want.

I didn't know that. I'll update the patch.
Attachment #271183 - Attachment is obsolete: true
Attachment #272025 - Flags: review?(gavin.sharp)
Attachment #272025 - Flags: review?(gavin.sharp) → review+
Keywords: checkin-needed
Target Milestone: --- → Firefox 3 M7
Checked in "patch without RTL support for pinstripe". Clearing checkin-needed keyword.
Keywords: checkin-needed
Attachment #272025 - Attachment description: patch without RTL support for pinstripe → patch without RTL support for pinstripe (checked in)
thanks
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Flags: in-testsuite-
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: