Commit b8bd5990 authored by Fredrik Söderquist's avatar Fredrik Söderquist Committed by Commit Bot

Attempt deflake of css3/filters/effect-reference-external-stylesheet.html

The filter that should be applied is referenced via the stylesheet, and
is loaded as a separate file. Since this resource is not considered to
be "critical" it may not have competed loaded when the document 'load'
event fires (and the screenshot is taken).
Add a 'load' handler on the <link> element that forces a style-recalc,
so that the style will be applied and the load started for the filter
resource - thus having it block the document 'load' event.

Bug: 658305
Change-Id: I424c82c1006f3db586cce056c07b94824d169925
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2050495
Auto-Submit: Fredrik Söderquist <fs@opera.com>
Reviewed-by: default avatarStephen Chenney <schenney@chromium.org>
Commit-Queue: Stephen Chenney <schenney@chromium.org>
Cr-Commit-Position: refs/heads/master@{#740340}
parent 27a0dbf2
<!DOCTYPE html> <!DOCTYPE html>
<link rel="stylesheet" href="resources/filters.css"> <link rel="stylesheet" href="resources/filters.css"
onload="document.body && document.body.offsetTop">
<style> <style>
img { img {
margin: 10px; margin: 10px;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment