Closed
Bug 613612
Opened 14 years ago
Closed 14 years ago
import in <style></style> does not account/use/respect href of base tag
Categories
(Core :: CSS Parsing and Computation, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: qdinar, Unassigned)
Details
User-Agent: Mozilla/5.0 (X11; U; Linux i686; ru; rv:1.9.2.12) Gecko/20101027 Ubuntu/9.10 (karmic) Firefox/3.6.12
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; ru; rv:1.9.2.12) Gecko/20101027 Ubuntu/9.10 (karmic) Firefox/3.6.12
import in <style></style> does not account/use/respect href of base tag. instead of it it uses page url.
Reproducible: Always
Component: General → Style System (CSS)
Product: Firefox → Core
Updated•14 years ago
|
QA Contact: general → style-system
Works fine for me:
http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C!DOCTYPE%20html%3E%0A%3Cbase%20href%3D%22http%3A%2F%2Fwww.w3.org%2FStyleSheets%2FCore%2F%22%3E%0A%3Cstyle%3E%0A%40import%20url%28Ultramarine%29%3B%0A%3C%2Fstyle%3E%0A%3Ch1%3ETest%3C%2Fh1%3E%0A%3Cp%3EThis%20is%20a%20test%20page.%3C%2Fp%3E
Do you have a URL where it doesn't work?
Status: UNCONFIRMED → RESOLVED
Closed: 14 years ago
Resolution: --- → WORKSFORME
i have tested and knew out now that it does not work only if base element is after style element. url: http://qdb.tmf.org.ru/test/firefoximportbase/%D0%91%D0%B0%D1%81%D1%82%D1%8B%20%D0%B1%D0%B5%D1%82%20%E2%80%94%20www.tor.kz.html . same file with base element moved as(to be) first element in head element works: http://qdb.tmf.org.ru/test/firefoximportbase/%D0%91%D0%B0%D1%81%D1%82%D1%8B%20%D0%B1%D0%B5%D1%82%20%E2%80%94%20www.tor.kz%202.html .
Does it work in other browsers when the base element is after the style element?
You need to log in
before you can comment on or make changes to this bug.
Description
•