On Wed, Oct 29, 2014 at 10:08 AM, Patrick Walton <pcwal...@mozilla.com>
wrote:

> On 10/28/14 1:46 PM, Robert O'Callahan wrote:
>
>> For example, suppose I have a regular document that's shorter than the
>> whole window and I append some text to the bottom. The height of the
>> <body> grows. Depending on the styles on the <body>, e.g. the value of
>> 'border-radius' and certain 'background' values, you may or may not have
>> to repaint the entire window; in common cases you don't have to, and in
>> Gecko we found it very worthwhile to detect those cases. How would your
>> overflow-based invalidation handle this case?
>>
>
> It wouldn't handle that case well, as it would repaint the whole window.
> That is a good example :)
>

OK, but I still have the general question of how your overflow-based
invalidation handles reflows. The basic problem is style changes to element
A can result in geometry changes to element B where B is not a descendant
of A. For example suppose <body> contains two DIV children A and B and
something changes the height of A so B moves down. How does overflow-based
invalidation ensure B is repainted?

Rob
-- 
oIo otoeololo oyooouo otohoaoto oaonoyooonoeo owohooo oioso oaonogoroyo
owoiotoho oao oboroootohoeoro oooro osoiosotoeoro owoiololo oboeo
osouobojoeocoto otooo ojouodogomoeonoto.o oAogoaoiono,o oaonoyooonoeo
owohooo
osoaoyoso otooo oao oboroootohoeoro oooro osoiosotoeoro,o o‘oRoaocoao,o’o
oioso
oaonosowoeoroaoboloeo otooo otohoeo ocooouoroto.o oAonodo oaonoyooonoeo
owohooo
osoaoyoso,o o‘oYooouo ofooooolo!o’o owoiololo oboeo oiono odoaonogoeoro
ooofo
otohoeo ofoioroeo ooofo ohoeololo.
_______________________________________________
dev-servo mailing list
dev-servo@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-servo

Reply via email to