gehuangyi20 / ie7-js

Automatically exported from code.google.com/p/ie7-js
0 stars 0 forks source link

<q> tag #139

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
It is relatively well-known that IE does not support the HTML inline quote tag 
(<q>). A script that 
makes IE act like a standards-compliant browser should probably support it.

Instead, IE acts like it always does. Completely ignores the quotes.

This is using the latest stable.

A fair amount of JavaScript tricks already exist for fixing the <q> tag. Since 
IE7.js already accepts 
:before and :after, it could probably be implemented in terms of that.

Original issue reported on code.google.com by mhowell...@gmail.com on 31 Dec 2008 at 8:41

GoogleCodeExporter commented 9 years ago
I'll look into it but it seems like you are the only person requesting this. :)

Original comment by dean.edw...@gmail.com on 11 Feb 2010 at 6:49

GoogleCodeExporter commented 9 years ago
there are different type of "
so ull have to detect the lang attribute or parse the head to pick it
to serve the proper ones

example
french « »
german „ “
english “ ”

see http://en.wikipedia.org/wiki/Quotation_mark,_non-English_usage#Overview

Original comment by fun...@gmail.com on 5 Mar 2010 at 7:46

GoogleCodeExporter commented 9 years ago
"Since IE7.js already accepts before and :after"
well then it should be easy to fix it then using content:""
the hard part is the lang detection

Original comment by fun...@gmail.com on 5 Mar 2010 at 7:49

GoogleCodeExporter commented 9 years ago
@funcod, yes the hard part is detecting the language. I already support the 
:lang() 
selector so it shouldn't be too difficult.

Original comment by dean.edw...@gmail.com on 5 Mar 2010 at 9:34

GoogleCodeExporter commented 9 years ago
i think generating the default one is enough
the only thing needed is being able to pull the information present in the css
for example
{quotes:"\AB\A0" "\A0\BB" "\201C\A0" "\A0\201D";}

Original comment by fun...@gmail.com on 7 Mar 2010 at 2:57

GoogleCodeExporter commented 9 years ago
short: ull have to add support for the quotes property (along the q tag)
see http://reference.sitepoint.com/css/quotes

Original comment by fun...@gmail.com on 7 Mar 2010 at 3:02