Re: [webkit-dev] Selection Highlight and MathML

2010-10-15 Thread Alex Milowski
On Fri, Oct 15, 2010 at 11:43 AM, David Hyatt  wrote:
> Do the objects actually overlap each other?
>

Yes.  Most of the overlap comes from containment (e.g. inline blocks containing
other constructs.

-- 
--Alex Milowski
"The excellence of grammar as a guide is proportional to the paucity of the
inflexions, i.e. to the degree of analysis effected by the language
considered."

Bertrand Russell in a footnote of Principles of Mathematics
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] Selection Highlight and MathML

2010-10-15 Thread David Hyatt
Do the objects actually overlap each other?

dave

On Oct 14, 2010, at 8:58 PM, Alex Milowski wrote:

> On Thu, Oct 14, 2010 at 5:19 PM, Darin Adler  wrote:
>> On Oct 14, 2010, at 2:12 PM, Alex Milowski wrote:
>> 
>>> I'm curious as to why MathML seems to be treated differently for selection 
>>> highlights.
>> 
>> Differently from what? I’m not sure what your question is.
> 
> If you try out the attachment from the bug you'll see what I mean.
> Essentially, MathML
> seems to get several overlapping highlights that get darker and darker the 
> more
> that they overlap via several layers.  As such, the content eventually
> gets washed
> out by the highlight color.
> 
> I do not see this behavior for non-MathML content and that leads me to
> believe we need to something in the rendering objects for MathML.
> 
> 
> -- 
> --Alex Milowski
> "The excellence of grammar as a guide is proportional to the paucity of the
> inflexions, i.e. to the degree of analysis effected by the language
> considered."
> 
> Bertrand Russell in a footnote of Principles of Mathematics
> ___
> webkit-dev mailing list
> webkit-dev@lists.webkit.org
> http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] Selection Highlight and MathML

2010-10-14 Thread Alex Milowski
On Thu, Oct 14, 2010 at 5:19 PM, Darin Adler  wrote:
> On Oct 14, 2010, at 2:12 PM, Alex Milowski wrote:
>
>> I'm curious as to why MathML seems to be treated differently for selection 
>> highlights.
>
> Differently from what? I’m not sure what your question is.

If you try out the attachment from the bug you'll see what I mean.
Essentially, MathML
seems to get several overlapping highlights that get darker and darker the more
that they overlap via several layers.  As such, the content eventually
gets washed
out by the highlight color.

I do not see this behavior for non-MathML content and that leads me to
believe we need to something in the rendering objects for MathML.


-- 
--Alex Milowski
"The excellence of grammar as a guide is proportional to the paucity of the
inflexions, i.e. to the degree of analysis effected by the language
considered."

Bertrand Russell in a footnote of Principles of Mathematics
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] Selection Highlight and MathML

2010-10-14 Thread Darin Adler
On Oct 14, 2010, at 2:12 PM, Alex Milowski wrote:

> I'm curious as to why MathML seems to be treated differently for selection 
> highlights.

Differently from what? I’m not sure what your question is.

-- Darin

___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


[webkit-dev] Selection Highlight and MathML

2010-10-14 Thread Alex Milowski
I've taken an initial look at this bug:

   https://bugs.webkit.org/show_bug.cgi?id=43818

and I'm curious as to why MathML seems to be treated differently
for selection highlights.

Is there something a rendering object should do to define the
selection highlight?

Ideally, we'd just have one highlight for the root MathML element's
rendering object (typically, 'math').

-- 
--Alex Milowski
"The excellence of grammar as a guide is proportional to the paucity of the
inflexions, i.e. to the degree of analysis effected by the language
considered."

Bertrand Russell in a footnote of Principles of Mathematics
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev