- From: Daniel Hale <dhale@pobox.com>
- Date: Fri, 2 Jan 1998 17:59:50 -0800 (PST)
- To: <neil@bigpic.com>, <www-style@w3.org>
Here's how I read it. Please correct me if I'm wrong. v.css P is green u.css P is red (because red came second) t.css P is green (because v.css came second and in it P is green) Does @import give a rule more weight in the cascade? Have I overlooked this? Dan Hale dhale@pobox.com >Given t.css: > >@import (u.css); >@import (v.css); > >and u.css: > >@import (v.css); > >p { color: red; } > >and v.css: > >p { color: green; } > >Should the color of p be red or green? > >I will argue that it should be "red" because sheets are to be >processed in order they are found (recursively into files) and if the >same sheet is included twice the second inclusion is ignored.
Received on Friday, 2 January 1998 21:00:23 UTC