Re: ¹ØÓÚαÀàµÄ×ÓÔªËصÄselector

ÎÊÌâ³öÔÚ±êǩǶÌ×ÕâÀïÁË¡£

ÎÒÕ⼸Ìì²éÁËÏà¹ØÎĵµ£¬blockÔªËØǶÈëinlineÔªËØ£¬ä¯ÀÀÆ÷»á½øÐдíÎó´¦Àí£¬ÈçÏ£º

* 3. We want to add a block element inside to an inline element. Close
all inline
elements up to the next higher block element.

£¨
http://opensource.apple.com/source/WebCore/WebCore-955.66/html/HTMLParser.cpp
£©

û̫Ã÷°×ºó°ë¾äµÄÒâ˼¡£

ÎĵµÀïÃæhandleResidualStyleCloseTagAcrossBlocks
ÊÇÓÃÀ´´¦Àí±êǩǶÌ×´íÎóµÄº¯Êý£¬c++дµÄ£¬Ö»¿´Á˸ö°ë¶®£¬ÄÄλÄÜ¿´Ã÷°×µÄÒ»ÆðÑо¿Ò»Ï£¬Ó¦¸Ã¶ÔÕâ¸öÎÊÌâÓаïÖú£¡

---------------------·¢ÁËÁ½´Î£¬µÚÒ»´ÎºÃÏñ·¢ËͲ»³É¹¦£¬±§Ç¸¡£

ÔÚ 2012Äê2ÔÂ7ÈÕ ÏÂÎç1:50£¬»ÆÊ˱ë <cavabiao@gmail.com>дµÀ£º

> ÎÊÌâ³öÔÚ±êǩǶÌ×ÕâÀïÁË¡£
>
> ÎÒÕ⼸Ìì²éÁËÏà¹ØÎĵµ£¬blockÔªËØǶÈëinlineÔªËØ£¬ä¯ÀÀÆ÷»á½øÐдíÎó´¦Àí£¬ÈçÏ£º
>
> * 3. We want to add a block element inside to an inline element. Close all inline
> elements up to the next higher block element.
>
> £¨
> http://opensource.apple.com/source/WebCore/WebCore-955.66/html/HTMLParser.cpp
> £©
>
> û̫Ã÷°×ºó°ë¾äµÄÒâ˼¡£
>
> ÎĵµÀïÃæhandleResidualStyleCloseTagAcrossBlocks
> ÊÇÓÃÀ´´¦Àí±êǩǶÌ×´íÎóµÄº¯Êý£¬c++дµÄ£¬Ö»¿´Á˸ö°ë¶®£¬ÄÄλÄÜ¿´Ã÷°×µÄÒ»ÆðÑо¿Ò»Ï£¬Ó¦¸Ã¶ÔÕâ¸öÎÊÌâÓаïÖú£¡
>
> ÔÚ 2012Äê2ÔÂ6ÈÕ ÏÂÎç3:55£¬Hawkeyes Wind <hawkeyes0.cn@gmail.com>дµÀ£º
>
>  ¿ÉÄÜÎÒû±íÊöÇå³þ£¬ÎÒÏ£ÍûµÄЧ¹ûÊÇ£¬·ÃÎʹýµÄÁ¬½Ó±³¾°±äÉ«²¢Í¸Ã÷»¯£¬ÏÖÔڱ߾³±äÉ«´ïµ½ÁË£¬µ«ÊÇûÓÐ͸Ã÷»¯¡£
>>
>> ÓÚ 2012/2/5 1:42, Ben дµÀ:
>>
>> ÄãµÄcodeÔÚÎÒµÄFF10ÏÂûÓÐÎÊÌ⣬ΨһµÄÎÊÌâÊÇhttps://google ºÍ https://baidu¶¼²»´æÔÚ£¬ÓÚÊǶ¼±»µ±×÷δ·ÃÎʵģ¬¶¼ÊǺìÉ«¡£
>>
>> 2012/2/4 Hawkeyes Wind <hawkeyes0.cn@gmail.com>
>>
>>> ÎÒµÄÒ³ÃæÉÏÓÐÈô¸É¸öaÁ¬ ½Ó£¬ÔÚÿ¸öaÁ¬½ÓÖÐÓиödiv£¬ÎÒÏëÈÃÓû§·ÃÎʹýµÄÁ´½ÓÖÐ µÄdivµÄ±³¾°ÓëÆäËûµÄÇø±ð¿ªÀ´¡£
>>>
>>>
>>> ÎҵĴúÂëÊÇÕâôдµÄ£º
>>>
>>> <html>
>>> <head>
>>> <style>
>>>    a div{background-color: red;opacity:1;}
>>>    a:visited div{background-color: blue;opacity:0.1;}
>>> </style>
>>> </head>
>>> <body>
>>> <a href="https://www.google.com"><div>google</div></a>
>>> <br/><br/>
>>> <a href="https://www.baidu.com"><div>baidu</div></a>
>>> </body>
>>> </html>
>>>
>>> µ«ÊÇÄǸödivµÄ͸Ã÷¶ÈÔõôҲ²»»á±ä£¬ÊÇÊèºöÁË»¹ÊDz»Ó¦¸Ã±ä£¿Ã²ËÆÖ»ÓÐOperaÊÇ°´ ÕÕÎÒµÄÒâͼÏÔʾµÄ¡£
>>>
>>> --
>>> Regards
>>>
>>> Hawkeyes Wind
>>>
>>>
>>>
>>
>> --
>> Regards
>>
>> Hawkeyes Wind
>>
>>
>
>
> --
> You have to take a bath before go to sleep.
>



-- 
You have to take a bath before go to sleep.

Received on Wednesday, 8 February 2012 22:10:56 UTC