Issue metadata
Sign in to add a comment
|
CSS at-rule not working in headless mode
Reported by
siddhana...@gmail.com,
Sep 17 2017
|
||||||||||||||||||||||||
Issue descriptionUserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.90 Safari/537.36 Example URL: Steps to reproduce the problem: Render the attached file with and without headless mode. The command for rendering a screenshot with headless mode is: $ google-chrome --headless --disable-gpu --screenshot file:///home/username/filepath/hello.html What is the expected behavior? Hello World is visible with and without headless mode. What went wrong? Headless mode does not display Hello World. Does it occur on multiple sites: N/A Is it a problem with a plugin? N/A Did this work before? N/A Does this work in other browsers? N/A Chrome version: 60.0.3112.90 Channel: stable OS Version: Ubuntu 16.04 Flash Version: Shockwave Flash 27.0 r0
,
Sep 18 2017
Unable to launch the browser using headless with the steps mentioned in the original comment adding appropriate component for further triage of the issue
,
Sep 19 2017
,
Oct 2 2017
Thanks for the A+ repro instructions! I can't reproduce With Chrome version 61 in Ubuntu, I am getting Hello World. Do you mind checking?
,
Oct 2 2017
,
Oct 3 2017
Oh! You're right. I didn't realize the issue was with my configuration. It fails with chrome://flags/#enable-gpu-rasterization enabled.
,
Oct 3 2017
Thank you for providing more feedback. Adding requester "dvallet@chromium.org" to the cc list and removing "Needs-Feedback" label. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Oct 3 2017
Actually, I don't think it has to do with gpu-rasterization. I'm having trouble reproducing the issue myself now. It seems to render Hello World sometimes, and seems to fail at other times.
Try writing a script that does the same thing over and over again, and view the results. You should (hopefully) see Hello World rendered correctly on a few results, and no text appearing in others. This is with Chrome 61 (Google Chrome 61.0.3163.100). For reference, here's the bash script I used:
```
for i in `seq 100`; do
google-chrome --headless --disable-gpu --disable-extensions \
--disable-plugins \
--screenshot="output$i.png" file:///home/username/path/to/hello.html
done
```
,
Oct 3 2017
Thanks for the script! I run it for both google-chrome and google-chrome-stable and got 100% success, so I'm not sure what could be going on. I'e also tried without --disable-gpu, same results. If you have any other clues, let me know and I'll be happy to look into it.
,
Oct 5 2017
|
|||||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||||
Comment 1 by nyerramilli@chromium.org
, Sep 18 2017