[Webkit-unassigned] [Bug 147158] New: On iPhone 6+, border-radius doesn't seem to work with viewport meta.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 21 12:27:22 PDT 2015


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

            Bug ID: 147158
           Summary: On iPhone 6+, border-radius doesn't seem to work with
                    viewport meta.
    Classification: Unclassified
           Product: WebKit
           Version: 528+ (Nightly build)
          Hardware: iOS
                OS: iOS 8.2
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: narfity at gmail.com

Created attachment 257191
  --> https://bugs.webkit.org/attachment.cgi?id=257191&action=review
iphone 6+ test case

For iPhone 6+'s, border-radius doesn't work well with <meta name="viewport" content="(list of properties here)">.

Here is markup for a test page:

<html>
<head>
<meta content="width=device-width,maximum-scale=1.0,initial-scale=1.0,minimum-scale=0.9,user-scalable=no" name="viewport">
<style>
#test {
  border-radius: 8px;
  border: 8px solid rgba(255,255,255,0);
  border-left: 8px solid #777;
}
</style>
</head>
<body>
  <div id="test">
    Test
  </div>
</body>
</html>

Note that commenting out the border-radius style will fix the issue on iPhone 6+. Also, commenting out the border (with rgba(255,255,255,0)) will fix the issue. Commenting out the meta tag will also work. So it's some combination of those 3 things.

This happens on any browser on an iPhone 6+. I'm attaching a screen shot from an iPhone 6+ with the problem showing (or really no border showing). I've tested before on iPhone 5 and there was no problem, but I don't have one available on me right now to take a screenshot. I have a screenshot from an android razr m that shows the border working, but apparently I can only attach one file here.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150721/9ccda544/attachment.html>


More information about the webkit-unassigned mailing list