Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Edge cases and known issues

Gaël Poupard edited this pageMay 15, 2019 ·4 revisions

Counters

CSS counters are incremented on each error/advice/warning and results are displayed withbody::after. Since it is added through CSS, it is basically fake-content which is good since it is no more than visual indication for the developer to see what’s going on. It will appear on the bottom left side of your page. :)

Void or replaced elements

Self-closing tags (a.k.a. void elements) do not allow generated content through pseudo-elements. Thus, errors or whatever will correctly be displayed, but not the message on hover. That being said, it should be available for consultation with any DOM reader (DevTools, Firebug or whatever).Here are affected self-closing tags:

  • <area />
  • <base />
  • <br />
  • <col />
  • <command />
  • <embed />
  • <hr />
  • <img />
  • <input />
  • <keygen />
  • <link />
  • <meta />
  • <param />
  • <source />
  • <track />
  • <wbr />
  • <textarea>,<select>,<svg>,<audio>,<video> and<iframe> aren't void tags but can't contain pseudo-elements as they are replaced elements. Take a look atWhat The Heck Is A Replaced Element? by@dudleystorey.

Issue#7 opened by@7studio suggested a decent work-around to display messages for those tags, as long as they are followed by a non-self-closing element. Still better than nothing.

Clone this wiki locally

[8]ページ先頭

©2009-2025 Movatter.jp