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