Safari display:contents bug

I just came across an interesting bug. In Safari 11.0.2 on desktop and on the phone, display:contents falls back to display:inline instead of being ignored.

I created a Pen to demonstrate:

See the Pen display contents by Jonathan Snook (@snookca) on CodePen.

I also was able to test on iOS 10.3.3 and it also seemed to exhibit this behaviour. iOS 9 didn't.

Published January 10, 2018
Categorized as HTML and CSS
Short URL: http://www.wowgoldme.com/s/1113
久久中文字幕免费高清,三级在线看中文字幕完整版,中文字幕偷乱视频在线