Export to GitHub

blueprintcss - issue #35

<blockquote> and <q> with quote marks inside of tags not removing quotes as expected.


Posted on Sep 8, 2007 by Happy Giraffe

See the blockquote example in the tests.html file. It has the text:

"<blockquote> This is blockquote text which has quote marks inside the source. They should be removed by reset.css and you should not see them."

When displayed in firefox, the open quote marks are not removed as seems to be indicated by the reset rule shown below.

What effect does this rule in reset.css have?

/* Remove possible quote marks (") from <q>, <blockquote>. */ blockquote:before, blockquote:after, q:before, q:after { content: ""; } blockquote, q { quotes: "" ""; }

Comment #1

Posted on Sep 12, 2007 by Happy Horse

This behaves as expected. The rule removes the quote marks that some browsers insert, not the ones the user might insert themselves.

I don't think we should force users to not use their own quote marks, but the point of the rule is that they can be sure the browser won't place them on its own accord.

Comment #2

Posted on Sep 25, 2007 by Happy Horse

Considering this issue solved.

Status: Fixed

Labels:
Type-Defect Priority-Medium