Menu

#49 attribute selector with space separated value

closed
nobody
None
1
2015-01-10
2014-09-17
No

according to the specs, the effective style for the p element in the snippet below should be background: lime

snippet
CSS

p { background: lime; }
[title~="hello world"] { background: red; }

HTML

<p title="hello world">This line should have a green background.</p>

But it matches the [title~="hello world"] selector.

test case

Discussion

  • mercury

    mercury - 2014-09-17

    (I can't find a way to watch or star the issues on SF. Hence adding a comment and hoping to get notifications.)

     
  • Radek Burget

    Radek Burget - 2014-09-30

    Ok, fixed by this commit.

     
  • Chetan Kothari

    Chetan Kothari - 2014-10-02

    Verified.

    Thanks for the fix.

     
  • Radek Burget

    Radek Burget - 2014-10-02
    • status: open --> accepted
     
  • Radek Burget

    Radek Burget - 2015-01-10
    • status: accepted --> closed
     
  • Radek Burget

    Radek Burget - 2015-01-10

    Closed in 1.19

     

Anonymous
Anonymous

Add attachments
Cancel





Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.