-
-
Notifications
You must be signed in to change notification settings - Fork 437
Closed
Description
In SVG, some attributes are camelCase. I'm using Brackets with the HTMLHint extension and HTMLHint flags them as errors. For example, it complains about viewBox in this snippet.
<div class="svg hasSVG">
<svg version="1.1" width="100%" height="194" viewBox="0 0 740 194">
<g>
<text x="512" y="12" class="regBitNum">0</text>
<text x="16" y="12" class="regBitNum">31</text>
<path d="M520,2l0,16M424,2l0,16M376,2l0,16M360,2l0,16M344,2l0,16M328,2l0,16M312,2l0,16M440,2l0,16M392,2l0,16M296,2l0,16M8,5.333333333333333l0,16" class="regBitNumLine" fill="none"></path>
</g>
</svg>
</div>
Ideally, HTMLHint would have a list of attributes that are camelCase (that can be extended / controlled by the user). Extra credit if it knows which tags allow which attribute.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels