[Webkit-unassigned] [Bug 130892] [CSS Blending] Isolation descendant dependent flags are not updated correctly

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Apr 16 13:17:36 PDT 2014


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


Dean Jackson <dino at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #228494|review?                     |review+
               Flag|                            |




--- Comment #16 from Dean Jackson <dino at apple.com>  2014-04-16 13:17:53 PST ---
(From update of attachment 228494)
View in context: https://bugs.webkit.org/attachment.cgi?id=228494&action=review

Patch is ok, but the tests need a fair amount of cleanup.

> LayoutTests/css3/compositing/blend-mode-isolation-flags-append-non-stacking-context-blending.html:8
> +	.stacking-context {
> +		-webkit-isolation: isolate;
> +		isolation: isolate;
> +	}

Many of these test files are using 8 space indents.

> LayoutTests/css3/compositing/blend-mode-isolation-flags-append-non-stacking-context-blending.html:54
> +		<!-- <div class="append-root">
> +			<div class="blending leaf">
> +			</div>
> +		</div> -->

Did you mean to leave this in?

> LayoutTests/css3/compositing/blend-mode-isolation-flags-append-stacking-context-blending.html:46
> +    function change() {
> +    	var target = document.getElementById("target");
> +    	var toAppend = document.createElement('div');
> +    	var blendingElement = document.createElement('div');
> +    	blendingElement.className = "blending leaf";
> +    	toAppend.appendChild(blendingElement);
> +    	toAppend.className = "stacking-context append-root"
> +    	target.appendChild(toAppend);
> +
> +        if (window.testRunner)
> +            window.testRunner.notifyDone();
> +    }

Indentation is weird. Also, you're mixing ' and "

> LayoutTests/css3/compositing/blend-mode-isolation-flags-append-stacking-context-blending.html:54
> +		<!-- <div class="stacking-context append-root">
> +			<div class="blending leaf">
> +			</div>
> +		</div> -->

Again, intentional?

> LayoutTests/css3/compositing/blend-mode-isolation-flags-remove-non-stacking-context-blending.html:41
> +    function change() {
> +    	var toremove = document.getElementById("toremove");
> +    	toremove.parentNode.removeChild(toremove);
> +
> +        if (window.testRunner)
> +            window.testRunner.notifyDone();
> +    }

More weirdness.

> LayoutTests/css3/compositing/blend-mode-isolation-flags-turn-off-blending-no-isolation.html:36
> +		<div class="">

Please remove class="" (it's in a few places)

> LayoutTests/css3/compositing/blend-mode-isolation-flags-turn-off-blending.html:31
> +    function change() {
> +    	var target = document.getElementById("target");
> +    	target.className = "stacking-context";
> +        if (window.testRunner)
> +            window.testRunner.notifyDone();
> +    }

More weirdness.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list