ChavezArquitectos / curvycorners

Automatically exported from code.google.com/p/curvycorners
0 stars 0 forks source link

Indented CSS class names break curvyCorners in Opera #51

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I'm using Opera 10.01 on Mac OS X 10.5.8.

This XHTML page renders the rounded corners properly:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://
www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
    <head>
    <title>curvyCorners CSS indentation test</title>
    <script type="text/JavaScript" src="curvycorners.js"></script>
    <style type="text/css">
.myBox {
    margin: 0.5in auto;
    width: 60%;
    padding: 20px;
    background-color: #f00;
    /* Do rounding (native in Firefox and Safari) */
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    }
    </style>
    </head>
    <body>
        <div class="myBox">Some text</div>
    </body>
</html>

Yet this XHTML page, which is exactly the same as the one above except for 
the indentation of the .myBox CSS class declaration, doesn't:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://
www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
    <head>
    <title>curvyCorners CSS indentation test</title>
    <script type="text/JavaScript" src="curvycorners.js"></script>
    <style type="text/css">
    .myBox {
    margin: 0.5in auto;
    width: 60%;
    padding: 20px;
    background-color: #f00;
    /* Do rounding (native in Firefox and Safari) */
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    }
    </style>
    </head>
    <body>
        <div class="myBox">Some text</div>
    </body>
</html>

Original issue reported on code.google.com by sampablo...@googlemail.com on 23 Nov 2009 at 5:27

GoogleCodeExporter commented 8 years ago
They both ought to render identically.

Original comment by sampablo...@googlemail.com on 23 Nov 2009 at 5:28

GoogleCodeExporter commented 8 years ago
NB. I was using curvyCorners 2.0.4

Original comment by sampablo...@googlemail.com on 23 Nov 2009 at 5:31

GoogleCodeExporter commented 8 years ago
This was fixed back at r138.

Original comment by c.1%smit...@gtempaccount.com on 18 Dec 2009 at 4:07

GoogleCodeExporter commented 8 years ago
Fair enough. I guess maybe it's getting to be time for a new stable release? :)

Thanks,

Sam

Original comment by sampablo...@googlemail.com on 18 Dec 2009 at 4:58

GoogleCodeExporter commented 8 years ago
Well, Christmas is coming. I'll see what Cameron thinks!

Original comment by c.1%smit...@gtempaccount.com on 19 Dec 2009 at 12:18

GoogleCodeExporter commented 8 years ago
Oooh a new stable release huh. You'll never know what Santa will bring!

Original comment by camsoft2...@gmail.com on 19 Dec 2009 at 10:25