Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

Web Forms Designer crashes with specific combination of CSS rules in Visual Studio 2013


View products that this article applies to.

Symptoms

When you use Web Forms Designer to edit a Web Form in Visual Studio 2013, Visual Studio crashes. This issue occurs when the page uses a specific combination of Cascading Style Sheets (CSS) rules. For example, the page uses the folowing rules:

<style type="text/css">
.class1 {
line-height: 25px;
}

.class2 {
font-size: 15px;
}

.class3 {
line-height: inherit;
}
</style>

If all these rules are applied to the same element in the HTML of the Web Form, Visual Studio crashes when the file is opened in Web Form Designer.

↑ Back to the top


Cause

Web Forms Designer may crash when you try to determine the correct font size if the line height is explicitly defined by one rule and then undefined by a different CSS rule.

↑ Back to the top


Resolution

This update is available from the Microsoft Download Center.

Microsoft Download Center

The following file is available for download from the Microsoft Download Center:
For more information about how to download Microsoft support files, click the following article number to view the article in the Microsoft Knowledge Base:
119591 How to obtain Microsoft support files from online services
Microsoft scanned this file for viruses. Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on security-enhanced servers that help prevent any unauthorized changes to the file.



Prerequisites

This hotfix requires Visual Studio 2013 Update 5.



Restart information

You may have to restart the computer after you apply this hotfix.



Replacement information

This hotfix does not replace any previously released hotfix.



File information

The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.

File nameFile versionFile sizeDateTimePlatform
VS12-KB3124249.exe12.0.40633.08,098,92016-Dec-20150:56x86

↑ Back to the top


Workaround

To work around this issue, use one of the following methods if the CSS file can be changed:

  • Remove the line-height value for an element that has other styles defined.
  • Remove the font-size value for an element that has line height defined.

↑ Back to the top


Keywords: kbqfe, kbsurveynew, kbfix, atdownload, kbexpertiseadvanced, kb

↑ Back to the top

Article Info
Article ID : 3124249
Revision : 2
Created on : 9/18/2018
Published on : 9/18/2018
Exists online : False
Views : 249