Frame border colors cannot be changed using CSS
Reported by
darnold....@gmail.com,
Nov 6
|
||||
Issue description
Chrome Version : 70.0.3538.77
OS Version: 10.0
URLs (if applicable) :
Other browsers tested:
Add OK or FAIL after other browsers where you have tested this issue:
IE/Edge: OK
What steps will reproduce the problem?
1. Create a file containing a frame set with styling:
<!DOCTYPE html>
<html>
<head> <style> FRAME { border: 2px solid red; } </style> </head>
<frameset title="Main" rows="35%,*" frameborder="1" border="1">
<frame title="Banner" src="about:blank">
<frameset cols="25%,*">
<frame style="border-right: 1px solid black;" title="Left" src="about:blank">
<frame title="Right" src="about:blank">
</frameset>
</frameset>
</html>
2. Load the page into the browser
What is the expected result?
There should be three frames with red borders, except the bottom left which has a black right border.
What happens instead of that?
There are three frames with standard borders.
Please provide any additional information below. Attach a screenshot if
possible.
UserAgentString: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.77 Safari/537.36
,
Nov 6
,
Nov 6
I wish we could kill FrameSet. Over to wangxianzhu@ for further triage.
,
Nov 7
Just for further information, my colleague has a similar corporate setup as me except that he has a Surface 2 and I have a Surface Book 2. When he has the window open on the Surface display some of the styling is displayed, however when he drags the window to the attached monitor the styling disappears when it is about 3/4 of the way across.
,
Nov 9
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/a0699cfa24f4ffa9aefe92e4e64ce43342e15f99 commit a0699cfa24f4ffa9aefe92e4e64ce43342e15f99 Author: Xianzhu Wang <wangxianzhu@chromium.org> Date: Fri Nov 09 00:30:29 2018 [PE] Fix border of frame under frameset FrameSetPainter paints everything in the foreground phase, so a frame under frameset should paint its box decoration background in the foreground phase. Bug: 902274 Change-Id: Id56af37a478b8503f17199753a485f6fe1261c95 Reviewed-on: https://chromium-review.googlesource.com/c/1326205 Reviewed-by: Chris Harrelson <chrishtr@chromium.org> Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org> Cr-Commit-Position: refs/heads/master@{#606650} [add] https://crrev.com/a0699cfa24f4ffa9aefe92e4e64ce43342e15f99/third_party/WebKit/LayoutTests/paint/frames/frameset-frame-border-expected.html [add] https://crrev.com/a0699cfa24f4ffa9aefe92e4e64ce43342e15f99/third_party/WebKit/LayoutTests/paint/frames/frameset-frame-border.html [modify] https://crrev.com/a0699cfa24f4ffa9aefe92e4e64ce43342e15f99/third_party/blink/renderer/core/paint/replaced_painter.cc [modify] https://crrev.com/a0699cfa24f4ffa9aefe92e4e64ce43342e15f99/third_party/blink/renderer/core/paint/replaced_painter.h
,
Nov 9
|
||||
►
Sign in to add a comment |
||||
Comment 1 by woxxom@gmail.com
, Nov 6