History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: LPP-2609
Type: Bug Bug
Status: Verified Verified
Resolution: Fixed
Priority: P1 P1
Assignee: Frisco Del Rosario
Reporter: Benjamin Shine
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
OpenLaszlo

Selectors of the form element[attr="val"] have same specificity as [attr="val"]

Created: 05/Sep/06 03:19 PM   Updated: 15/Sep/06 07:04 PM
Component/s: LFC - CSS
Affects Version/s: 3.4
Fix Version/s: 3.4

Time Tracking:
Not Specified

Severity: Minor
Fixed in Change#: 1,754
Runtime: N/A
Fix in hand: False


 Description  « Hide
See test case testClassAttrValSelector in http://localhost:8080/coal/test/style/constraints/constraint-test.lzx
A selector like this:
  styledbox[width="30"]
should be more specific than a selector like this:
   [width="30"]

Right now, the behavior depends on lexical order of the stylesheet's rule declaration.

 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Benjamin Shine - 06/Sep/06 05:14 PM
Fixed in revision 1754. See test in http://localhost:8080/coal/test/style/constraints/constraint-test.lzx
Note that the test tests both possibilities for lexical order, with the width=62 and width=30 tests.